In geotechnical engineering, drilling fluid, also called drilling mud, is used to aid the drilling of boreholes into the earth. Often used while drilling oil and natural gas wells and on exploration drilling rigs, drilling fluids are also used for much simpler boreholes, such as water wells. One of the functions of drilling mud is to carry cuttings out of the hole. The three main categories of drilling fluids are: water-based muds (WBs), which can be dispersed and non-dispersed; non-aqueous muds, usually called oil-based muds (OBs); and gaseous drilling fluid, in which a wide range of gases can be used. Along with their formatives, these are used along with appropriate polymer and clay additives for drilling various oil and gas formations. The main functions of drilling fluids include providing hydrostatic pressure to prevent formation fluids from entering into the well bore, keeping the drill bit cool and clean during drilling, carrying out drill cuttings, and suspending the drill cuttings while drilling is paused and when the drilling assembly is brought in and out of the hole. The drilling fluid used for a particular job is selected to avoid formation damage and to limit corrosion.