Where do worms live?

They live in soil, because that is where they get their food. They are decomposers. They eat decomposing animal carcases, dead leaves, etc.