A hernia occurs when an organ or tissue protrudes through a weak spot in the muscle or connective tissue that is supposed to hold it in place. The most common types of hernias include inguinal, femoral, umbilical, and hiatal hernias. Each type is named based on its location in the body.