Panniculitis is generally classified into two main types: septal panniculitis and lobular panniculitis. Septal panniculitis primarily involves the connective tissue septa that divide the fat lobules, while lobular panniculitis involves the fat lobules themselves. Each type can further be subdivided based on the presence of vasculitis.