What is the difference between the definitions for ray and line segment?

Only the definition of ray relies on an understanding of two directions.
Only the definition of line segment relies on an understanding of line.
Only the definition of ray depends on an understanding of infinite.
Only the definition of line segment depends on an understanding of point.