Yes, there is some B12 in soil and plants, but it is not nearly enough to meet your body’s need.
This essential vitamin is made by bacteria that live in the gut of animals that eat grass and other kinds of vegetation. We humans have bacteria in our digestive systems that make B12 too. The problem is that we cannot absorb enough of it to meet our daily requirement.
Animals are able to absorb the B12 made in their gut much better than we can. They store that B12 in their tissues, milk, and eggs. That is why meat eaters and vegetarians who eat dairy products and eggs usually get enough B12.
When you choose not to eat any animal products, you will need some form of B12 supplementation.
Not getting enough of this vitamin could be harmful to your health.