Electrostatics is the branch of physics that studies electric charges at rest. It explains how charges interact when they are stationary. The fundamental property of matter responsible for this is the electric charge, which can be positive (like protons) or negative (like electrons).
Coulomb’s Law is the foundation of electrostatics. It states that the force between two charges is directly proportional to the product of their charges and inversely proportional to the square of the distance between them.
For example, if you comb your hair, it becomes charged and can attract small paper pieces due to electrostatic forces.