Static electricity
Most materials have a unique chemical attraction for electrons. Because of this, rubbing different materials can cause charge separation. The material will have a positive charge if it has a lower attraction for electrons than the other material.Sometimes, by walking across a carpet then touching a metal item (e.g. doorknob) can cause a static electricity shock.