Inguinal hernias are typically classified based on their location and can be divided into two types. The most commonly seen inguinal hernias are direct and indirect, which can both potentially require surgical intervention. When both types of hernias are seen simultaneously, it is classified as a pantaloon hernia.