The drilling process involves multiple steps to extract oil or natural gas from underground reservoirs. First, a drilling rig is constructed on location and used to drill down through rock layers until the targeted formation is reached. Various tools are then used to complete the well by setting casing and cement to protect groundwater. Finally, the well can be flowed to bring the oil or gas to the surface for processing and distribution to customers.