To understand relativity, one must first understand reference frames.
All measurements in physics are taken from the origin. 3D Cartesian coordinate space has x, y, z axes at right angles to each other.
There are many possible reference frames, and all measurements are made from a frame of reference.
Inertial reference frames (IRF) are defined as having no acceleration. Though Earth is not a true IRF, its acceleration is so small that it can be ignored.
Galileo and Einstein agree that all IRFs and their laws of physics are identical.
Reference frames can differ from the origin via rotation or translation. Alternatively, one frame of reference can be moving relative to another.