Maggots are caused by flies. Flies lay eggs in dead or decaying objects. When these eggs hatch, maggots appear to feed on the dead flesh or decay. Maggots do not eat living flesh, and for this reason have become a popular treatment for ailments such as gangrene. They eat all of the dead skin leaving nice clean healthy skin alone.