Why do you sometimes get a shock when touching a metal doorknob after walking across a carpet?
Think about your answer, then reveal below.
Model answer: Walking on the carpet transfers electrons between your shoes and the carpet (charging by friction), building up static charge on your body. When you touch the metal doorknob (a conductor), the charge rapidly discharges through the small gap, creating a spark.
Friction between your shoes and the carpet transfers electrons, giving you a net charge. The charge cannot escape through the insulating carpet but discharges instantly when you touch a conductor like a doorknob.