The smell from the nectaries and the prettiness of the petals draws the insects in towards them. As they dig for the sweet nectar all the pollen rubs off on their bodies from the stamen.