What is the red bar / section / block in my sleep graph?

The red block indicates that something went wrong with tracking at that time. We did not get the expected data from accelerometer. Maybe Your phone has restarted or if You are using smartwatch, we could have lost connection to it.