This plant is not a fungus but a plant without chlorophyll.
Indian Pipe or Ghost Flower has roots through which it gathers its nourishment. The plant lacks chlorophyll but instead gets its nutrients through a mutually beneficial relationship with a fungus in the soil where it grows.