At the end of Star Wars Episode 6: Return of the Jedi, Darth Vader threw the Emperor into a pit. Why was there a pit in the Emperor's VIP chamber on the Death Star?
Well we can rule out it being a temporary throne room, as it is described in immense detail in the following article (also referenced by Max's answer):
Considering the following excerpt:
Surrounding the throne room and its neighboring rooms was the abyss, an open shaft surrounding the turbolifts, which led directly to the Death Star's power core, 400 km (250 miles) below. The receiving area, or inner sanctum, was separated by a retractable walkway. The Receiving area was used for meetings with local system governors and/or the Emperor's advisors.
From this I would surmise that, being a Sith Emperor who rules the galaxy through fear, the Emperor intentionally constructed his throne room with an "abyss" in it in order to intimidate the governors and other people who would enter that room.
The fact that he could so easily be thrown into it served as even more of a "fuck you" to those people as it showed that he considered them to be of utterly no threat to him at all.
If I remember correctly, the Emperor's chamber was at the top of a tall spire on Death Star II.
The "pit" was simply the tower shaft.
Echoing WayzGoose's excellent answer, the Emperor had the pit in his throne room because, well, it's very impressive. And if you're the evil Emperor of a Empire consisting of several trillion inhabitants, it certainly helps if your visitors are suitable cowed before they've even gotten to speak to you.
THE EMPEROR has called for his servant, and Darth Vader has come to the Death Star’s immense throne room to receive his orders.
To approach the Emperor’s throne, visitors must cross a narrow bridge over a vast chasm. If they dare peer over the edge they will see, a mile below, the terrible glow of the space station’s main reactor.
Then they must climb several sets of stairs placed there for no reason other than their own inconvenience.
There is no luxury in this throne room. It is all girders and catwalks and strange machinery that hums, buzzes, and sometimes growls.
Even the throne is menacing, more like a chunk of black rock than a chair. It doesn’t even have a cushion.
This whole throne room was designed for just one purpose: to intimidate.