Indeed.
Good point. I will keep that in mind if I have any plants that I want to go to seed.
Usually, I do not allow my basil to do so as the plant dies after. I can keep them growing and making leaves for months I I prune off the shoots for flowers.