The iPhone camera takes several photos in rapid succession at different exposures and blends them together to bring more highlight and shadow detail to your photos. By default, iPhone takes photos in HDR (for the rear camera and the front camera) when it's most effective.