Fungal networks possess a capacity for solving novel problems, such as growing through a maze to locate the shortest path to the exit. Some researchers are exploring their electrical signalling to make what they call living fungal computers—not to perform calculations, but perhaps to act as environmental sensors that can report soil quality or pollution.
That's an interesting quote from the article. Mushrooms are pretty amazing, Paul Stamets blew my mind with his Ted talk years ago, they are something else that is for sure!