System comprising a computed tomography gantry, a cart, a rail system, a rotary bearing and a lifting apparatus, - wherein in a translational operating state of the system, the cart is mounted in such a way that it can be moved along the rail system such that a first translational motion of the cart along the rail system can be executed, wherein the computed tomography gantry, the rotary bearing and the lifting apparatus are each held in the cart in such a way that they follow the first translational motion of the cart, - wherein in a transitional operating state of the system, the cart is mounted in such a way that it can be moved along a vertical axis of rotation relative to the rail system by means of the lifting apparatus, such that a lifting motion of the cart along the vertical axis of rotation relative to the rail system can be executed, wherein the computed tomography gantry is held in the cart in such a way that it follows the lifting motion of the cart relative to the rail system, - wherein in a rotational operating state of the system, the cart has been lifted along the vertical axis of rotation relative to the rail system by means of the lifting apparatus such that the cart is detached from the rail system, and the cart is mounted in such a way that it can be rotated about the vertical axis of rotation relative to the rail system by means of the rotary bearing, such that a rotational motion of the cart about the vertical axis of rotation relative to the rail system can be executed, wherein the computed tomography gantry is held in the cart in such a way that it follows the rotational motion of the cart about the vertical axis of rotation relative to the rail system. - wherein in a translational operating state of the system, the cart is mounted in such a way that it can be moved along the rail system such that a first translational motion of the cart along the rail system can be executed, wherein the computed tomography gantry, the rotary bearing and the lifting apparatus are each held in the cart in such a way that they follow the first translational motion of the cart, - wherein in a transitional operating state of the system, the cart is mounted in such a way that it can be moved along a vertical axis of rotation relative to the rail system by means of the lifting apparatus, such that a lifting motion of the cart along the vertical axis of rotation relative to the rail system can be executed, wherein the computed tomography gantry is held in the cart in such a way that it follows the lifting motion of the cart relative to the rail system, - wherein in a rotational operating state of the system, the cart has been lifted along the vertical axis of rotation relative to the rail system by means of the lifting apparatus such that the cart is detached from the rail system, and the cart is mounted in such a way that it can be rotated about the vertical axis of rotation relative to the rail system by means of the rotary bearing, such that a rotational motion of the cart about the vertical axis of rotation relative to the rail system can be executed, wherein the computed tomography gantry is held in the cart in such a way that it follows the rotational motion of the cart about the vertical axis of rotation relative to the rail system.