The drilling mud is diverted through a degasser to remove and sample any gases brought to the surface.The degasser removes nearly all gases from the drilling fluid and vents them into the atmosphere at a safe distance from the drilling rig.A degasser is a device which removes gas from drilling mud.