An atom that loses one or more valence electrons to become a positively charged ion is known as a cation, while an atom that gains electrons and becomes negatively charged is known as an anion.
whenever an atom looses one or more electron then it bears a positive charge on it due to more more protons than electrons in that particular atom, and that positively charged atom is known as a cation