What is the difference between simple harmonic motion and oscillation?
In simple harmonic motion, the motion of the body in question can be simply described as following sinusoidal function. Oscillation covers broader range of alternating motion, both periodic and non-periodic, as long as the displacement is bounded between two extrema.
SHM is a kind of oscillation. The oscillations where the restoring force F is proportional to the displacement of the particle oscillating from equilibrium and in opposite direction is SHM.
That is for SHM, F is proportional to (-x)
Separate names with a comma.