Meckel's diverticulum is a congenital outpouching of the small intestine that occurs due to incomplete closure of the omphalomesenteric duct during fetal development. It is the most common congenital anomaly of the small bowel and can cause bleeding, obstruction, or inflammation.