It lubricates the surfaces of the pleurae, allowing them to slide over each other. The serous fluid also produces a surface tension, pulling the parietal and visceral pleura together. This ensures that when the thorax expands, the lung also expands, filling with air.