There are many creatures who either benefit from dim light or darkness OR have sunlight weakness. Like the Shadow:
Sunlight Weakness. While in sunlight, the shadow has disadvantage on attack rolls, ability checks, and saving throws.
But the daylight spell would not trigger this. It would...