Hello..!
There are 2 main types of ions one is an atom where the electrons are shared between the atoms. the other is an electron where one atom loses an electron to become a neutral in a charged ion, and the other atom gains the electron to become a charged lon anion.

Ions with a positive charge are known as cations. Those that are negatively charged are called anions.
¿Doubts? in the comments Greetings.