Exposure can be adjusted by changing either the lens f-number or the exposure time; which one is changed usually depends on the camera's exposure mode. If the mode is aperture priority, exposure compensation changes the exposure time; if the mode is shutter priority, the f-number is changed. If a flash is being used, some cameras will adjust it as well.