Applications: why are sometimes some characters underlined?

I just got to mind that some installers / wizards or application sometimes underline a single (or more) characters.

Can someone brighten me up and explain why this is done?

Example:

enter image description here

I'm asking here because I think it has something to do with UX / Accessibility maybe?