Mushrooms also contain B vitamins, which support the functioning of the nervous system, and minerals like selenium and potassium, which benefit the immune system and heart function.