A rock containing a metal in useful amounts is called an ore. The ore is heated up in a factory and the metal flows out.Sand is mixed with other materials and heated. When they melt, they make glass.