An ion is an atom or a molecule that has gained or lost one or more electrons giving it a negative or positive charge: its number of protons (positive charge) is different from its number of electrons (negative charge).