The main purpose of motion detection is to sense an intruder and send an alert to your control panel, which alerts your monitoring center.
Sensors work when you're not home or when you tell the system you are not there. You can even program some security systems to record events via a security camera when there's motion.