As it moves up and down the total energy of the system expresses itself as changing amounts of kinetic energy, potential energy due to gravity, and potential energy of a spring.
(it; moves; up and down the total energy of the system)
it
moves
up and down the total energy of the system