A photoelectric sensor is a device that uses light signals to detect the presence, position or state of an object. It works by emitting a light beam (such as infrared light or laser) and receiving a reflected or transmitted signal. It has the characteristics of high precision, non-contact and fast response. It is widely used in many fields such as manufacturing, logistics, security, and medical treatment, and is an important part of modern intelligent equipment.