A PIR-based motion detector is used by most alarm systems to sense movement of people, animals, or other objects. They are commonly used in burglar alarms and automatically-activated lighting systems.