The sigmoid colon is the part of the colon that forms an angle medially from the pelvis to form an S-shaped curve.