In the simplest case, the cation is a metal atom and the anion is a nonmetal atom, but these ions can be of a more complex nature, e.g. molecular ions like NH4+ or SO42−. In simpler words, an ionic bond is the transfer of electrons from a metal to a non-metal in order for both atoms to obtain a full valence shell.