(used interrogatively to inquire about the character,.. What with singing and joking, the time passed quickly.
We use what to ask questions and as a pronoun and determiner.. What is your phone number?