in the world=in any conditions / on earth;used to express great surprise that something could happen or exist.
What in the world did he think he was doing?
Why in the world would she say that?
How in the world did you guess that it was me calling you?
Who in the world does he think he is, speaking to me like that!
Where in the world will they get the energy they need?