What was the skene in ancient Greek theater?

The skene was a structure built at the back of the stage in ancient Greek theater. It was a rectangular building with a large central door that served as the main entrance and exit for actors. The skene had multiple doors and windows through which actors could make their entrances and exits. It also had a raised platform on top that actors could use to perform scenes on the roof of the building. It served as the backdrop for the stage and could be decorated to represent different locations, such as a palace, temple, or house, depending on the needs of the play.