Contraction of the muscles in the digestive system in a wavelike fashion, such that foodstuff is moved down from the mouth and through the stomach and intestinal tract for elimination through the rectum. Motility disorders typically cause abnormalities with peristalsis.