The purpose of the dehaze tool in Photoshop and Lightroom is to either add or remove atmospheric haze from a photo. If you have a photo with some low-lying fog in the picture that is ruining the detail in the background, a lot of it can be removed by using the dehaze slider.