An anal abscess is a mass filled with pus that forms when a gland inside the anus gets infected and clogged.