What is the function of the pleural membrane in the lungs?

The pleural membrane surrounds the lungs and secretes fluid to reduce friction between the lungs and the chest wall during breathing.