Lightning is a large-scale example of static electricity. When large thunder clouds rub together, electrons are stripped from one part of the cloud and move to another. This creates a very large build-up of electrons. The cloud tries to discharge itself to become neutral again, causing lightning.