Basically the halo and its jacket and rods hold the patient’s head still, so that the bones can heal.
The pins in the halo are secured to the skull, which prevents any motion in the neck.