In the gut wall, smooth muscle is arranged in a circular layer and longitudinal layer. The circular layer contracts to allow segmentation to occur, which allows for greater mixing of food with digestive juices. The longitudinal layer allows for peristalsis.