When to resize images

Anyone that can explaine when and why to select yes or no in the “resize images” option?
If yes is selected, what value shall be used in the field “px”
BR Tony