The parts of a quarry or mine that are being (or has been) worked.
The internal mechanism of some device or system.