Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
A Photoreflector is a light emitting diode and a phototransistor housed in a compact package that can be used for detection of proximity and colour of objects.
They are a popular component in line following robots and other robotics.