Just a basic answer: Plants and animals uptake the same minerals, but need different forms. You will need soil with microbes in order to break down the minerals and nutrients into their available forms.
Long Answer: Plants are autotrophs (they make and create carbohydrates from raw minerals), Animals are heterotrophs (we need to eat carbohydrates, and break them down into usable minerals)
The form of minerals to create carbohydrates in plants are inherently different (they drive different metabolic pathways) than the form of minerals that animals consume.
A plant can take dirt and water and make an apple. If you bury that apple into the ground, the plant doesn't use it (the microbes will have to break it down into usable ions).
Conversely, animals cannot survive on dirt and water, we need to eat other plants and animals.
So..... it will take a while for the soil environment to break down these ingredients so the plants can use them, that's why we have minerals already in plant usable form, that we can source from local stores/ farms.
Hope this helps a little bit.