Hernia Overview. A hernia occurs when the contents of a body cavity bulge out of the area where they are normally contained. These contents, usually portions of intestine or abdominal fatty tissue, are enclosed in the thin membrane that naturally lines the inside of the cavity.