Think about your answer, then reveal below.
Model answer: Grounding connects the metal chassis or enclosure of an electrical device to the earth through a low-resistance wire (the ground wire). If a fault causes the hot wire to contact the metal chassis, the ground wire provides a low-resistance path for current to flow back to the panel, tripping the circuit breaker. Without grounding, the chassis would become energized and anyone touching it would receive a shock.
Grounding works because current follows the path of least resistance. The ground wire's resistance is much lower than the human body's resistance, so fault current flows through the wire instead of through a person. This is why three-prong plugs exist -- the third prong is the ground connection.