Oscillations are back-and-forth (or periodic) motion about a stable equilibrium position. The most important and heavily tested type of oscillation is Simple Harmonic Motion (SHM).
Simple Harmonic Motion is a periodic back-and-forth oscillation around an equilibrium position caused by a restoring force proportional to displacement.
What happens in Simple Harmonic Motion?
As you notice, this oscillates back and forth.