An oil drilling rig is a complex machine used to drill wells deep into the earth, enabling the extraction of oil and gas for energy production and industry.