An accumulation of pus in a body cavity, usually the pleural space. The disease is empyema (Monarch Disease Ontology term MONDO_0005242).