After landing on a suitable tree, an ambrosia beetle excavates a tunnel in which it releases spores of its fungal symbiont. The fungus penetrates the plant's xylem tissue, extracts nutrients from it, and concentrates the nutrients on and near the surface of the beetle gallery. Ambrosia fungi are typically poor wood degraders, and instead utilize less demanding nutrients. The majority of ambrosia beetles colonize xylem (sapwood and/or heartwood) of recently dead trees, but some attack stressed trees that are still alive, and a few species attack healthy trees. Species differ in their preference for different parts of trees, different stages of deterioration, and in the shape of their tunnels ("galleries"). However, the majority of ambrosia beetles are not specialized to any taxonomic group of hosts, unlike most phytophagous organisms including the closely related bark beetles.