Repulsion is a movement between two charges that are identical or similar. The power that exists between two electrons (negative charge). Attraction is a force between two charges that are distinct or unlike.
Because the nuclei are positive and the electrons are negative, the electrons are attracted to the nuclei. Chemical bonds contain forces of attraction and repulsion. Repulsive forces occur only when atoms are very close to each other.
The electromagnetic force of repulsion between protons is resisted by strong forces. The strong force holds the protons together to form the nucleus, like “glue”. The atom is bound together by heavy forces and electromagnetic forces.