When an Atom Is No Longer Neutral
A neutral atom has the same number of protons and electrons. An ion forms when an atom or group of atoms has an overall charge. Here, we focus first on ions made from one atom.
The Atomic Structure and Symbolism section from OpenStax explains that ions form when the number of electrons is not equal to the number of protons. The source can be opened through OpenStax's Atomic Structure and Symbolism.
Protons are in the nucleus and usually do not move during simple chemical processes. Electrons are the particles that change. So element identity stays locked by the number of protons, while ion charge is determined by the difference between protons and electrons.
A simple way to read charge is by its sign. Protons add positive count, while electrons add negative count. If the counts match, the result is or neutral. If electrons decrease, positive charge remains. If electrons increase, negative charge remains.