emphasis; what on earth?
Adds emphatic bewilderment to a question, like saying 'what on earth' or 'who in the world'.
一体 is an adverb that injects a sense of puzzlement, frustration, or urgency into a question. It often appears in rhetorical questions where the speaker truly cannot understand or doubts the answer. You'll see it in both casual and formal speech, but it's more common in conversation than in writing.
When you use 一体, the question feels stronger: it implies 'I've been thinking about this, but I really can't figure it out.' For example, '一体何してるの?' sounds more exasperated than just '何してるの?' Be careful not to overuse it in polite requests—it can sound confrontational if not softened with の/んですか.