The longitudinal/X axis, or roll axis, is an imaginary line running horizontally through the length of the ship, through its centre of mass, and parallel to the waterline.
In nautical terms, this refers to the horizontal axis that extends along the length of a ship, running from stem to stern and passing through its center of gravity, parallel to the waterline.