elements must be what or be purified from ores