It is necessary to move the food in a regulated manner along the digestive tube so that it can be processed properly in each part.
The lining of the canal has muscles that contract rhythmically in order to push the food forward.
This is known as peristaltic movement.