Every connected graph has at least one spanning tree.
Let G be a connected graph.
If G has no cycles, then it is its own spanning tree.
If G has cycles, then on deleting one edge from each of the cycles, the graph remains connected and cycle free containing all the vertices of G.
So option D is correct.