A ore crawler is shown extracting resources on Lothal
Extraction, specifically of mineral and metal resources from a planet using technology, was known as mining.
The spice mines of Kessel on Kessel were the site of spice extraction, a hazardous undertaking. Following the rise of the Galactic Empire, the world of Lothal was also heavily mined.
Thorilide was extracted from crystalline caverns on Cynda, which is a moon orbiting Gorse; baradium bisulfate was also present.
The Galactic Empire decimated much of Lothal's natural resources, replacing them with mines and various pieces of machinery.
By 3 ABY, Lando Calrissian had taken control of Cloud City, a tibanna-gas mining operation based on the planet Bespin.
Asteroid miners were those who extracted resources from asteroids. This occupation was apparently quite painful, as the miners often used pain dampers while working. The asteroids orbiting Geonosis provided the materials used to construct the Death Star. Station Theta Black was constructed within a completely mined-out asteroid, utilizing the dedlanite that had been extracted.