Anal cancer is a malignant tumor that develops in the tissues of the anus, often associated with human papillomavirus infection. Treatment typically involves chemotherapy, radiation therapy, and sometimes surgery depending on the cancer stage.