Electricity occurs naturally and can be produced through friction. Benjamin Franklin conducted experiments that demonstrated lightning is a form of electricity. Static electricity is produced when two materials are rubbed together, causing an imbalance of electric charges. Lightning results from the buildup and discharge of large amounts of electric charges between clouds or between clouds and the ground, producing flashes of light and sounds of thunder due to rapid heating and cooling of air.