Question: what are the necessary conditions for a body to execute simple harmonic motion?
Answer: In system there should be an elastic restoring force(A force which rises towards to an equilibrium. ... 
The acceleration of the system should be directly proportional to the displacement and is always directed towards mean position.