Sodium picosulfate is a prodrug converted by colonic bacteria into its active metabolite, which stimulates the nerve plexus of the colon. This activation enhances peristalsis and increases motility, promoting bowel movements. Additionally, it induces secretion of water and electrolytes into the colon, softening stool consistency and facilitating defecation.