You use what in questions when you ask for specific information about something that you do.. (used interrogatively as a request for specific information).
A simple definition is available from our learner's dictionary to help you understand the meaning faster.. (used interrogatively to inquire about the character, occupation, etc., of a person).