Segment occurs when the recording time is changed and that caused more than one video recordings on the same time invertal. To avoid the loss of video, it creates segments to store all the data.