Question about labor

Cali☀️

When people say they were in labor for 12 hours or 36 hours for example... what does “in labor” actually mean?