A hernia occurs when an organ or tissue protrudes through an abnormal opening in the body. In pediatrics, the most common types of hernias are inguinal, umbilical, and diaphragmatic. Inguinal hernias are more frequent in boys, while umbilical hernias are common in infants.