Most smartwatches track sleep by using a combination of sensors, such as accelerometer, gyroscope, heart rate, and SpO2, to measure your movements, heart rate, and blood oxygen levels during the night. Based on these data, the smartwatch estimates your sleep stages, such as light, deep, REM, and awake, and your sleep quality, such as duration, efficiency, and consistency.