The U.S.S. Enterprise crew takes on a Federation historian to investigates an ancient space station which has suddenly appeared in orbit of a planet that the crew has visited before. After they enter the space station, they soon realize that there is much more to the ancient complex than they expected.