"Collectively the scent, colour and shape of petals all play a role in attracting/repelling specific pollinators and providing suitable conditions for pollinating. Some pollinators include insects, birds, bats and the wind."
Flowers are colourful and fragrant to facilitate insect pollination. Insects get attracted to Bright colours and fragrance and when they reach the flower, pollens stick to their body and hence get pollinated