Which does not provide an example of mechanical energy?

A. a stretched spring
B. sunlight
C. a falling rock
D. a rock perched on a ledge

An explanation would be greatly appreciated :)