Static electricity is built up when two materials are rubbed together, causing positive and negative charges to collect on each surface. Rubbing a balloon with wool creates a static charge, attracting the balloon to a person due to opposite charges. When a second balloon is charged and hung near the first, they repel each other due to both having the same charge. Static electricity results from friction that causes imbalances in electric charges.