The short answer
Plants and fungi share a few traits. Both are eukaryotes, both have cell walls, both often live in soil and leaf litter, both can reproduce with spores, and both can form partnerships with each other. They are not closely related, though. Fungi are more closely related to animals than to plants, and the differences in how they feed and build their bodies are large.
Both are eukaryotes
A eukaryotic cell has a nucleus and other membrane-bound parts called organelles. Plants, fungi, and animals are all eukaryotes, while bacteria are not. This shared cell design is a broad similarity, and it does not tell you much about how an organism lives.
Both have cell walls, made of different materials
Plant cells have walls made mostly of cellulose. Most fungal cells have walls made mostly of chitin, a related but different polysaccharide. The two walls do similar jobs, giving the cell shape and support, but they are built differently.
Both reproduce with spores, but not in the same way
Many plants reproduce with spores too, such as ferns and mosses. Flowering plants and conifers reproduce with seeds, which fungi never make. Fungal spores are usually single cells that travel on wind, water, or animals, and a spore that lands in a suitable place grows into a new mycelium rather than a new plant.
Both share soil, wood, and leaf-litter habitats
Plants root in soil, and fungi spread through soil, wood, and leaf litter. In a forest, the two grow side by side, which is why mushrooms and plants are so often found together. Shared habitat does not make them alike, though.
Both can form partnerships
Many plants and fungi form mycorrhizae, partnerships in which fungal hyphae grow in or around plant roots. The fungus helps the plant absorb water and nutrients, especially phosphorus, and the plant supplies sugars made by photosynthesis. The ecto and endo mycorrhizae examples show how these partnerships differ. In ectomycorrhizae, the fungus forms a sheath around the root tips. In endomycorrhizae, the fungus penetrates the root cells.
Mycorrhizal partnerships are one example of the symbiotic mode of nutrition in fungi. Plants that do not form them are covered in examples of non-mycorrhizal plants.
For foragers, this matters. Many prized wild mushrooms, including porcini and chanterelles, form tree-root partnerships. They often appear near particular trees, and many of them are hard to grow on purpose.
Both are mostly stationary as adults
Plants stay rooted. A fungus’s mycelium spreads slowly through its food source, and its fruiting bodies do not move. A few fungi produce swimming spores, but adult fungi do not roam the way animals do.
Where the similarities end
The question of how are fungi different from plants has a longer answer, but the main points are these:
- Plants make their own food by photosynthesis. Fungi cannot, so they absorb food from their surroundings.
- Plant cell walls are cellulose. Most fungal walls are chitin.
- Plants store starch. Fungi store glycogen.
- Fungi are more closely related to animals than to plants. People sometimes ask whether fungi are a mix between animals and plants. They are not a mix. They are their own kingdom, with a more recent common ancestor with animals than with plants.
What this means for foragers
- A plant-like look does not make a mushroom edible. Edibility depends on the species, not on how closely a mushroom resembles a plant part.
- A host tree can be a useful clue. Porcini and chanterelles grow near certain trees, but the tree alone does not confirm that a mushroom is safe. Some poisonous species also form tree-root partnerships and grow under trees.
- Check each feature of the mushroom itself, and use a regional field guide or an expert before you eat anything you have picked.