This is the motion of an object that moves back and forth periodically, such as a pendulum and a spring.