<Table> <Tr> <Th> Transudate </Th> <Th> Exudative causes </Th> </Tr> <Tr> <Td> * Congestive heart failure (CHF) <Ul> <Li> Hepatic cirrhosis </Li> <Li> Hypoproteinemia </Li> <Li> Nephrotic syndrome </Li> <Li> Pulmonary atelectasis </Li> <Li> Myxedema </Li> <Li> Peritoneal dialysis </Li> <Li> Pulmonary embolism </Li> <Li> Meigs' syndrome </Li> <Li> Obstructive uropathy </Li> </Ul> </Td> <Td> * Malignancy <Ul> <Li> Infection </Li> <Li> Trauma </Li> <Li> Pulmonary infarction </Li> <Li> Pulmonary embolism </Li> <Li> Autoimmune disorders </Li> <Li> Pancreatitis </Li> <Li> Ruptured esophagus (or Boerhaave syndrome) </Li> </Ul> </Td> </Tr> </Table> <Tr> <Th> Transudate </Th> <Th> Exudative causes </Th> </Tr> <Tr> <Td> * Congestive heart failure (CHF) <Ul> <Li> Hepatic cirrhosis </Li> <Li> Hypoproteinemia </Li> <Li> Nephrotic syndrome </Li> <Li> Pulmonary atelectasis </Li> <Li> Myxedema </Li> <Li> Peritoneal dialysis </Li> <Li> Pulmonary embolism </Li> <Li> Meigs' syndrome </Li> <Li> Obstructive uropathy </Li> </Ul> </Td> <Td> * Malignancy <Ul> <Li> Infection </Li> <Li> Trauma </Li> <Li> Pulmonary infarction </Li> <Li> Pulmonary embolism </Li> <Li> Autoimmune disorders </Li> <Li> Pancreatitis </Li> <Li> Ruptured esophagus (or Boerhaave syndrome) </Li> </Ul> </Td> </Tr> <Ul> <Li> Hepatic cirrhosis </Li> <Li> Hypoproteinemia </Li> <Li> Nephrotic syndrome </Li> <Li> Pulmonary atelectasis </Li> <Li> Myxedema </Li> <Li> Peritoneal dialysis </Li> <Li> Pulmonary embolism </Li> <Li> Meigs' syndrome </Li> <Li> Obstructive uropathy </Li> </Ul>

Where is the pleural cavity located what is its function