It’s eating then! Since the undead can eat, I like to think that the whatever they do eat dissolves into something neon green sludge you see in scourge buildings. Thats why when you swim through the stuff in Naxxramas you lose a huge chunk of health: you’re literally being dissolved by what are basically digestive juices.