Thoracentesis is a procedure that removes extra fluid from the pleural space. This space is between the outside surface of the lungs (pleura) and the chest wall.