Minimum Spanning Tree means
To cover all the nodes what is the minimum cost
let take this graph.
What is the Minimum Spanning tree cost?
10, tree is D-C-B-A
we know A-C is the shortest path but with that we only visit A and C
===> 10-7=3, did you can visit remaining vertices with this weight ?