An atom that has lost or gained an electron