What is an ionic substance made from?

metals and non-metals