Believe it or not, this is controlled by only three settings on the camera: aperture, ISO, and shutter speed (the "exposure triangle"). Acquiring a strong command over their application is necessary for the formation of a photographic intuition.