A lung abscess is a walled-off pocket of pus inside the lung. It builds up slowly over weeks, usually after something was breathed in.
The most common cause is aspiration pneumonia, linked to poor dental hygiene, previous stroke and reduced consciousness. Other causes are spread from the blood (e.g. endocarditis) and bronchial obstruction by a tumour. It is usually polymicrobial. It comes on over weeks, with fever, weight loss, night sweats and foul-smelling sputum. On chest X-ray, look for a cavity and the air-fluid level inside it. Treatment is IV antibiotics, with percutaneous drainage if it doesn't resolve.