SHM in a Pendulum. The motion of a simple pendulum is very close to Simple Harmonic Motion (SHM). SHM results whenever a restoring force is proportional to the displacement, a relationship often known as Hooke's Law when applied to springs.
Harini Umamagesh answered this
the to and fro motion of the pendulum about it's mean position is oscillatory motion