Different mobs spawn in diverse habitats/structures, depending on the light level, biome and surface material. Some of the many monsters that can spawn in the Overworld. From left to right: zombie, spider, enderman, creeper, skeleton, drowned, witch, and slime. Mobs spawn in various ways. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.