Prostaglandins act as signaling molecules, binding to specific receptors on cell surfaces and triggering various physiological responses. In the context of pregnancy, they play a key role in initiating labor by softening the cervix and promoting contractions of the uterus.