Pleural effusion can be caused by various conditions including pneumonia, heart failure, malignancies, pulmonary embolism, and liver or kidney disease.