Concept:
Force between electric charges at rest is called an electrostatic force. It is an attractive and repulsive force between particles which depends upon their electric charges. It is also called as Coulomb’s force.
Examples of electrostatic force are attraction of paper to a charged scale by rubbing to hair, lighting etc.
Coulomb's Law:
According to coulomb's law, electrostatic force between two charges depends upon following factors:
Force is directly proportional to magnitude of the charges and inversely proportional to square of distance between them.
Let q1 and q2 are two charges separated by a distance r, then

Nature of force depends upon the charges. Like charges repel and unlike charges attract each other it mean force of repulsion acts between two positive or two negative charges whereas if one charge is positive and other is negative then force is attractive.
Gravitational Force:
Gravitational Force is the force with which each body in this universe attracts other bodies towards itself.
According to Newton's law of Gravitation,
Force is directly proportional to product of their masses and inversely proportional to square of distance between them.
Let m1 and m2 are masses of two bodies separated by a distance r, then gravitational force between them is FG

where G is constant of proportionality and known as gravitational constant. Its value is 6.67 × 10-11 N m2 kg-2 and remains constant in the whole universe.
