An ovarian abscess is a localized collection of pus within or on the ovary, often resulting from an infection. It is a subset of a broader condition known as pelvic inflammatory disease (PID). This condition can lead to severe complications if not diagnosed and treated promptly.