An overwhelming majority of what we eat is made from plants and animals. This means that composition of our almost entire food is chemicals from the realm of organic chemistry (carbon-based large molecules). Water and salt are two prominent examples of non-organic foodstuffs - which come from the realm of inorganic chemistry. Beside some medicines is there any more non-organic foods? Can we eat rocks, salts, metals, oxides… and I just don’t know that?
The word “organic” has a number of different meanings.
So the chemistry definition isn’t the relevant one when applied to food. The “Carbon based molecules” definition isn’t even the original one and it only applies in the context of science, not food.