Ghost pipe is often parasitic on plants from aster family, like in this case, when it was found growing over a goldenrod clump (the broad leaves belong to the goldenrod).