What happens on an atomic level when a reaction between two elements such as sodium and chlorine results in two oppositely charged ions?.