Preterm labor is the onset of labor before 37 weeks of pregnancy, which can pose risks to both mother and baby. This condition requires medical management to either delay delivery or prepare for early birth.