Static electricity is generally caused when a material is rubbed against the surface of another material. Though electrical charges are present, they do not constitute to form alternating current or direct current. Hence, these are referred to as 'static' which, as mentioned before, explicitly means 'electricity at rest'.