Track sensors

Line sensors/line followers are used, among other things, to make robot cars follow a line on the floor.
Infrared reflection sensors can also be used to, for example, keep track of the reading on a mechanical electricity meter with a rotating disk.