Answer:
Metal
Non-metal
Explanation:
Ionic compounds are said to be formed when metals donate electrons to non metals.
The metals become positively charged while the nonmetals become negatively charged.
CaF2 is composed of Ca^2+ and F^-. Calcium is a metal of group 2 in the periodic table while F is a nonmetal of group 17 in the periodic table.
Hence CaF2 is composed of a metal and a nonmetal.