The casing is a large-diameter pipe that is specifically designed to be installed within a recently drilled section of a well or borehole. This pipe serves multiple essential functions, including maintaining the structural integrity of the well, preventing the collapse of the surrounding rock, and isolating water or other fluids in the well from external contaminants. Once the casing is positioned in the borehole, it is typically secured in place using a cement slurry. The cement not only anchors the casing firmly to the surrounding geology but also creates a seal that protects the well stream from potential contamination and ensures that various underground zones remain isolated from one another. This critical process helps to enhance the safety and efficiency of the well, ensuring reliable access to the desired resources.