Here's the breakdown:
* Like charges repel: Objects with the same type of charge (both positive or both negative) push each other away.
* Opposite charges attract: Objects with opposite charges (one positive and one negative) pull towards each other.
The strength of this force depends on:
* The magnitude of the charges: Larger charges exert stronger forces.
* The distance between the charges: The closer the charges, the stronger the force.
This electrostatic force is fundamental to many phenomena in our world, from the behavior of atoms and molecules to the operation of electronic devices.