(a) A simple harmonic motion is necessarily periodic.
(b) A simple harmonic motion is necessarily oscillatory.
A periodic motion need not be necessarily oscillatory. For example, the moon revolving around the earth.
Also, an oscillatory motion need not be necessarily periodic. For example, damped harmonic motion.