Explain why metals tend to form cations, while non metals tend to form anions

Explain why metals tend to form cations, while non metals tend to form anions