Thoracentesis is an invasive procedure to remove fluid or air from the pleural space for diagnostic or therapeutic purposes. A hollow needle is carefully introduced into the thorax, after administration of a local anesthesia. If a large amount of fluid is present, then this procedure can also be used therapeutically to remove that fluid and improve patient comfort and lung function.