Answer:
Based on whether an element is a metal or non-metal, or their charge if given.
Explanation:
Cations are positively charged ions. Elements that are metals become positively charged.
Anions are negatively charged ions. Elements that are non-metals become negatively charged.