I read this question: Hilbert's Foundations of Geometry Axiom II, 1 : Why is this relevant? and its answer by Eric Wofsey. In this answer, it is stated that "lies between" a primitive notion in Hilbert's Foundations of Geometry.
Why is it a primitive notion? Can't we define that a point $B$ is between points $A$ and $C$ if $AB < AC$ and $BC < AC$? Or maybe that a point $B$ is between points $A$ and $C$ if $AC=AB+BC$?
The ''lies between'' notion is the basis used by Hilbert to define an ''order'' between points on a straight line. The axioms that define such a notion are called Axioms of Order in his book, and introduced thusly:
So obviously we can substitute these axioms with some other definition of order, as, e.g. in Birkoff's axioms, where the order is introduced via real numbers. But the importance of the Hilbert axiomatization of geometry is exactly that it does not use the real numbers.