Electrostatic forces are non-contact forces; they pull or push on objects without touching them. Rubbing some materials together can result in something called 'charge' being moved from one surface to the other. Charged objects pull on other uncharged objects and may either push or pull on other charged objects.
Coulomb's law states that:
'The magnitude of the electrostatic force of attraction or repulsion between two point charges is directly proportional to the product of the magnitudes of charges and inversely proportional to the square of the distance between them.'
The force is along the straight line joining them. If the two charges have the same sign, the electrostatic force between them is repulsive; if they have different signs, the force between them is attractive.
The electrostatic field (lines with arrows) of a nearby positive charge (+) causes the mobile charges in conductive objects to separate due to electrostatic induction. Negative charges (blue) are attracted and move to the surface of the object facing the external charge. Positive charges (red) are repelled and move to the surface facing away. These induced surface charges are exactly the right size and shape so their opposing electric field cancels the electric field of the external charge throughout the interior of the metal. Therefore, the electrostatic field everywhere inside a conductive object is zero, and the electrostatic potential is constant.