Where do you live that the majority of domestic gardens are used primarily to grow food?
Is that common with the stated definition? In the US, it is not especially if you add sustaining levels of production vs just hobby level
For example, the Great British Bake-off has the tent in the garden. But no red blooded 'murican would consider that expanse of manicured grass as a garden.