An object is said to undergo oscillatory motion when it moves