These are the more showy flowers on a courgette plant, so I assume the male ones. If so, they won’t produce any fruit themselves, but are sometimes eaten as flowers.
Buddleia, known as the butterfly bush from the numbers attracted to its flowers. Here one living up to its name. Painted lady, red admiral and peacock butterflies all feeding at the same time