Peristalsis is the primary mechanism behind defecation.