We can use what in informal situations to ask someone to.. What is wealth without friends?
You use what in questions when you ask for specific information about something that you do.. We use what to ask questions and as a pronoun and determiner.