Applications: Why are some characters sometimes underlined?

I just thought that some installers / wizards or applications sometimes emphasize one (or more) characters.

Can anyone enlighten me and explain why this is done?


enter the description of the image here

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