A rectal abscess is a collection of pus that forms in the tissues surrounding the rectum, typically caused by infection from anal glands or trauma. It presents with pain, swelling, and drainage and requires medical evaluation and treatment to prevent complications.