I watched a Netflix show called Nadiya Bakes, in which the former Great British Bake-Off star showed recipes as well as taking some time each episode to go to a factory or farm or something and show how some ingredient she was using that episode was made. In one episode, this ingredient was mushrooms. Mushrooms can be foraged in the wild or grown locally, with the latter of the two generally being much safer from a "liability standpoint" for a televised show. She went to a mushroom facility and they explained how the parts we eat (mushrooms) are only the reproductive parts of the mycelium network. Anywhere you see mushrooms growing, there's likely a whole network underneath. These farmers have some dank (literally, not in the meme sense) soil that they have grown a sort of white, webby network in, and when they change the climate to drop the temperature of the soil all of a sudden, it makes the network sprout these mushrooms to try to reproduce (and escape what might be a hostile environment), at which point they can just cut the mushrooms off, raise the temp back up, and do it again after some time has passed.
It's honestly kind of wild that we can eat and digest mushrooms at all, in my opinion.