When neutral, atoms have equal number of electrons and protons, which is represented by its atomic number. To achieve stability, atoms have a tendency to either gain or lose valence electrons (electrons in the outermost shell of an atom). These atoms will now charged positive or negative. They are called ions.