A charged particle formed by the loss or gain of electrons during a compound formation is called an .....