Perianal fistulas are classified into two main categories: simple and complex. The specific type of fistula is crucial for determining the most appropriate treatment plan and is typically identified through a pelvic MRI scan.