Why are atoms electrically charged?

Atoms are electrically charged in order to attract other atoms during a chemical reaction to combine to make 2 new substances through displacement or combine through synthesis and make a new element ie. Na+Cl =NaCl = Salt