Hi I just want to know how does segmentation work?? I cannot find the explanation for the segmentation code here