Newton's third law of motion states that for every action, there is an equal and opposite reaction. Whenever one object exerts a force on another object, the second object exerts an equal and opposite force back on the first object. When a cannon fires, the cannonball exerts a forward force on the cannon while the cannon exerts a backward force of equal magnitude on the cannonball, causing the cannon to recoil. Although the cannon exerts an equal reaction force, it does not move back very far due to its greater mass compared to the cannonball.