When an excess of electrons exists in a material, there is a net negative electrical charge, and conversely, a deficiency of electrons forms a net positive electrical charge. Materials with charges of opposite polarity are attracted to each other and materials with charges of similar polarity are repelled.