Fungi have a type of "root " system called hyphae. They are essentially the same as roots on a plant except that a mushroom or other type of fungi doesn't rely on photosynthesis instead absorbing all it's need nutrients through these hyphae.
Note: There are comments associated with this question. See the
discussion page
to add to the conversation.
Fungi obtain nutrients by absorbing nutrients from their surroundings after breaking them down w/digestive juices. ~Holt Science & Technology, Life Science Textbook