When a metal meets a non-metal, electrons are often transferred outright. The metal donates one or more electrons and becomes a positive cation; the non-metal accepts them and becomes a negative anion. Opposite charges attract — and that attraction is the ionic bond.