Examples of SHM include the motion of a mass attached to a spring and the swinging of a pendulum in small angular displacements.