A horse pushes the ground in the backward direction. According to Newton’s third law of motion, a reaction force is exerted by the Earth on the horse in the forward direction. As a result, the cart moves forward.