A laxative is defined as,
A substance that is used to promote a bowel movement when you are constipated.
Laxatives work by starting and stimulating peristaltic action. Peristaltic action is a wave like movement that occurs throughout your gastrointestinal tract