The Enterprise crew discovered that Yonada was on a collision course with the populated planet Daran V. The inhabitants of Yonada had been in space for so long that they had forgotten that they were on a ship. They called the ship's computer the Oracle and had developed a sophisticated religion around it and its purpose to bring them to "the new world".
Central to this faith was the Oracle Room, which contained the physical representation of the Oracle, a kneeling position for use by the high priestess when conversing with the Oracle, and a plinth containing the Book of the People. The Oracle Room also contained a number of defensive mechanisms under the control of the Oracle, including a means of incapacitating intruders using an electric shock, and a means of heating the room to very high temperatures very quickly and kill the victims in heat strokes or burn them alive. It also contained the concealed entrance to Yonada's control room.
The Enterprise crew helped Natira, the leader of the Yonada colonists, to understand that their world was a ship, and corrected the worldship's course to its intended destination for a safe course. (TOS: "For the World is Hollow and I Have Touched the Sky")