What provides the restoring force of simple harmonic oscillations in the following cases:

What provides the restoring force of simple harmonic oscillations in the following cases:
(i) simple pendulum, (ii) spring, (iii) column of mercury in U-tube ?

The sources of restoring force is as follows:
(i) Simple pendulum : gravity.
(ii) Spring: elasticity
(iii) Column of mercury in U tube : weight.