A body performs simple harmonic motion (SHM) when its acceleration is proportional to its displacement from the mean position and always directed towards that position. The minus sign in a = −ω2x shows this direction.
SHM is linked to circular motion. If a point P moves round a circle at constant angular velocity ω, its projection N on a diameter moves to and fro in SHM. The radius of the circle is the amplitude x0, and the angle ωt that the radius has turned through is the phase, which tells the state of the motion.
At the mean position the speed is greatest and the acceleration is zero. At the extreme positions the speed is zero and the acceleration is greatest.