Bees pollinate flowers. The bees have eyes that are attracted to brightly colored Flowers.
Butterflies are diurnal and have good vision (can see red) but a weak sense of smell. They are perching feeders. Butterfly-pollinated flowers are brightly-colored but odorless. Often, these flowers occur in clusters (Compositae, milkweed) and/or are designed with a “landing platform.” Butterflies walk around on flower clusters probing the blossoms with their tongues. Each flower has a tube of suitable length for the butterfly’s tongue.
Moths are nocturnal, have a good sense of smell, and are hover-feeders. These flowers are white or pale colors so they are visible at night, and may only be open at night. Typically, these flowers have a strong, sweet scent (again, maybe only at night) and deep tubes to match the length of the appropriate moth’s tongue. The petals are flat or bent back (recurved) so the moth can get in.
Predator and prey evolve together. The prey is part of the predator's environment, and the predator dies if it does not get food, so it evolves whatever is necessary in order to eat the prey: speed, stealth, camouflage (to hide while approaching the prey), a good sense of smell, sight, or hearing (to find the prey), immunity to the prey's poison, poison (to kill the prey) the right kind of mouth parts or digestive system, etc. Likewise, the predator is part of the prey's environment, and the prey dies if it is eaten by the predator, so it evolves whatever is necessary to avoid being eaten: speed, camouflage (to hide from the predator), a good sense of smell, sight, or hearing (to detect the predator), thorns, poison (to spray when approached or bitten), etc.