An electrically charged particle, formed when an atom loses or gains one or more electrons to form a stable outer shell. All ions are either cations or anions.