Stool softeners are a type of laxative used to treat constipation. They work by reducing the tension of the stools, allowing water and oil to mix into it which causes it to soften. Stools that have been softened are easier to pass, easing symptoms of constipation.