Hard rock mining requires removing ore from other substances such as quartz. Ores have different qualities and impurities depending on how they were formed. Often gold occurs as veins in quartz, which is mined as rocks from within a mine. This requires special machinery and often requires the skills of a geologist