The motion which repeats after an equal time interval is the periodic motion and it doesn't have equilibrium position, restoring force.
To and fro motion about the mean position is the oscillatory motion and it has equilibrium position, restoring force.
SHM is a special case of oscillation that is a straightline along two extreme points and it has restoring force and mean position.