Static electricity is an imbalance of electric charges within or on the surface of a material. The charge remains until it is either discharged to ground or neutralized by a equal but opposite charge. It can be caused by a variety of processes, such as rubbing materials together, contact with certain materials, or the flow of electric current. Static electricity can cause a spark, which can be a shock hazard.