Terrasphere 8 was a habitat built by Species 8472 in the Delta Quadrant, reproducing Starfleet Headquarters and the Academy grounds in exact detail as a training ground for infiltrators.
The station appears in the fifth-season episode In the Flesh. Inside its shell lies a convincing San Francisco campus, with cadets, officers and even the gardener Boothby, all of them members of Species 8472 altered to pass as humans and other Federation races.
Chakotay explores it in disguise and is befriended by Commander Valerie Archer. The crew learn that it is one of several such installations, set up because Species 8472 fear that the Federation intends to invade fluidic space after Voyager's alliance with the Borg.
Janeway arms her nanoprobe warheads but chooses to talk. In a tense meeting with the false Boothby and Admiral Bullock, the two sides exchange information and step back from war.