What is the function of a spring?

Top