The phrase "what on earth" is used for emphasis in questions to show surprise or confusion. It is often used to express extreme surprise, confusion, or disbelief about something. For example, "What on earth is going on here?" is a way of expressing strong surprise or confusion about a situation