Either used when something is ridiculously funny and you can barely breathe, or stupidly tragic.
Either of these is correct.
Girl: *sees something hilarious* HAHAHAHA WHAT IS LIFE?!
Boy: I haven't left the house all week, I've been on Tumblr all week and have only moved to pee, sleep and eat, what is life?!
215👍 70👎