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.
![\sf \red {\underline{ \underline{Explantation:}}}](https://img.qammunity.org/2023/formulas/chemistry/middle-school/p18wkkariq5v5r5fo612aenyfxps0m906r.png)
Ions with a positive charge are known as cations. Those that are negatively charged are called anions.
¿Doubts? in the comments Greetings.