system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: Why are some plugs ungrounded?

I know that grounding a circuit is a way to ensure that people won't electrocute themselves every time they plug or unplug a wire from the wall. However, some plugs in my house are ungrounded, such as my toaster wire or laptop charger. Why is this allowed? Isn't an ungrounded plug dangerous?
gpt
The ground exists to prevent a short circuit in a device from electrifying the case, which would shock you if you just touched the device.  Basically, the ground is attached to the case in such a way that it if the case somehow becomes electrified, the ground is the shortest path for electricity to travel to your house's ground (as opposed to that being your body).  Because of that, electricity should *never* be flowing through the ground - its a last ditch measure to keep a seriously damaged device from killing you.  

If a device doesn't have any metal parts that you can touch then it doesn't need a ground because there is no way for the case to be electrified.

The ground has nothing to do with unplugging or plugging in a device.  Plugs are made out of plastic or rubber so they can't be electrified.