A procedure in which a hollow needle is inserted through the skin and between the ribs into the pleural cavity (the space between the lungs and the walls of the chest) to remove fluid.

Doctors may use thoracentesis to collect fluid for examination under a microscope or to reduce a buildup of fluid in the pleural cavity.