Sometimes fluid gets trapped in the pleura. This usually happens in patients with lung infections or lung cancer. When fluid is trapped the condition is known as pleural effusion.