Outdoor lighting is often used for security purposes, to illuminate the presence of unauthorized persons. To avoid the use of energy to light areas unnecessarily, it is likely advantageous to use motion detectors to turn on lights only when there is movement.