AR understands the environment with its sensors, knows your position and environment. From there, it can place digital objects on top of the real world.