A drilling rig is a device used for soil excavation. This area can be used for scientific study, oil and water extraction, building pilings, or even other purposes. They range in size from enormous offshore platforms to rigs placed on trucks.