Infosys interview question

What does dictionary.keys() function do?