Photocells are used to automate lighting fixtures, turning off during daylight and activating when dark.