The law of electric charges states that like charges repel each other and opposite charges attract each other.
This means that two positive charges or two negative charges will repel each other, while a positive charge and a negative charge will attract each other.
The strength of the force between two charges is determined by the magnitude of the charges and the distance between them. The greater the magnitude of the charges, the stronger the force. The greater the distance between the charges, the weaker the force.
The law of electric charges is one of the fundamental laws of physics and is essential for understanding electricity and magnetism.