First of all, some of the veggies I eat are actually immature flowers. Broccoli is the first one that comes to mind. Cauliflower. Chinese kale. Then there are the flowers that I add to salads....nasturtiums, squash, violet, chive.
Lots of veggies bloom, though I seldom give the much thought. Squash, cucumbers, tomatoes, peppers, beans, peas......
I've noticed that even within the veggie variety, the color of the blossoms can be different. So they could be white, other times pink or purple. I see this commonly with peas, beans, and potatoes.
My herbs often go to flower. I've been known to sneak a few of these flowers into our meals. The various basils flower readily. So does dill, cilantro, summer savory, marjoram.
Without flowers my garden wouldn't produce fruit type veggies, like tomatoes, peppers, eggplants, pumpkins, squash, beans, peas, corn......well I haven't been to successful with corn yet, but I'm still dreaming. Bumbye.
Most of the flowers in the gardens don't have much scent. At least I don't notice them. But then I'm not noted to have a fine sense of smell either. But the two that I do notice are roses and macadamia nuts. Both smell wonderful.