A motion detector, which can also be referred to as a motion sensor, functioned as a sensor designed to identify movement from things or people. These were frequently implemented for security purposes or for engaging with equipment, like doors that open automatically.