Definitions of on earth:

  • adverb:   used with question words to convey surprise
    Example: "What on earth are you doing?"