Underground mining is used to access ores and minerals located far beneath the ground when surface mining is not economical. It involves digging tunnels into the earth to extract resources. There are two main types - hard rock mining which extracts metals and gems, and soft rock mining which extracts materials like coal. Access tunnels or shafts are dug and levels are excavated horizontally to reach the ore body. Machinery is used to continue mining and remove material, while supports are installed to prevent cave-ins. Proper ventilation is needed to remove gases and regulate air flow and temperature. Underground mining can be more environmentally friendly than surface mining but is also more hazardous due to safety issues like gas exposure.