Earlier quoted context omitted.
It's cultural knowledge passed down through generations. Mushroom foraging is super popular in Russia and other Slavic countries, and my grandmother taught me most of the fundamentals before we immigrated to the US, and I continued to study field guide books on my own. When you get to know the specific bits of anatomy of the mushroom body, the trees with which they're symbiotic, the seasons in which they occur, etc.,…
Incidentally, I've heard that a significant number of people get poisoned by mushrooms when they learned to recognize edible mushrooms in another country (often China or Eastern Europe), then move to the US and try to forage for mushrooms here. Knowing one region's edible/poisonous mushrooms doesn't make you an expert on anything outside that region.
E.g: https://en.wikipedia.org/wiki/Volvopluteus_gloiocephalus#Edi... == In the United States, there have been several cases of Asian immigrants collecting and eating death caps (Amanita phalloides), under the mistaken assumption that they were Volvariella. ==
That has also happened here in Denmark.