Scoliosis is a medical condition characterized by an abnormal curvature of the spine, which can…