Maggots are mostly gross/disgusting larvae that live in dirty places. Although you might think a maggot is infectious, it's been told by an expert that maggots can actually heal your wounds by eating all the dead tissue inside the wound and leaving healthy tissue.
I've made a diagram about the Life cycle of Maggots.