Tuberculosis (TB), a severe bacterial lung infection can also cause fluid to accumulate inside the lungs. But in most cases, TB causes excess build up of fluid around the lungs. Also referred to as pleural effusion or 'fluid on lungs', the condition is commonly diagnosed among TB patients.