Before we talk about X and Y ...
x y and z three dimensions
Three-dimensional space is a geometric 3-parameters model of the physical universe (without considering time) in which we exist. These three dimensions are commonly called length, width, and depth (or height), although any three directions can be chosen, provided that they do not lie in the same plane.
In mathematics, analytic geometry (also called Cartesian geometry) describes every point in three-dimensional space by means of three coordinates. Three coordinate axes are given, usually each perpendicular to the other two at the origin, the point at which they cross. They are usually labeled x, y, and z.