Necrotizing enterocolitis (NEC) is a serious gastrointestinal problem that mostly affects premature babies. The condition inflames intestinal tissue, causing it to die. A hole (perforation) may form in your baby's intestine. Bacteria can leak into the abdomen (belly) or bloodstream through the hole