Electric charge is a property that causes subatomic particles like protons and electrons to attract or repel each other. A net electric charge is produced by an excess or shortage of electrons, and electric forces are the attraction or repulsion between charged objects. Static electricity refers to the transfer of electric charge through friction, contact, or induction, which can cause hair to stand up or sparks to fly.