Static electricity is a buildup of electric charge on the surface of objects. This occurs when certain materials are rubbed together, causing electrons to transfer from one material to another. As a result, one object becomes positively charged while the other becomes negatively charged. Common examples include rubbing a balloon on your hair or walking on a carpet.
When two charged objects come close, they can create an electric field, leading to a discharge of electricity. This discharge can be seen as a small spark or felt as a shock. Static electricity is commonly experienced in dry conditions, where humidity is low, making it easier for charges to accumulate.