Star whale

"In bed above, we're deep asleep. While greater love lies further deep. This dream must end. This world must know. We all depend on the beast below." ―Liz Ten's poem about the Star Whale

Physical Appearance
The Star Whales were giant alien creatures, resembling Earth's whales in basic structure. They had several flippers and tentacle like protrusions on their backs. They were capable of surviving in the vacuum of space. (DW: The Beast Below)

History
An ancient and benevolent species, the Star Whales had, according to legend, guided early space travellers through dangers on their journeys through space. By the time of the 29th century, the species was all but extinct save for one, who is theorised to be the last of its kind. When Earth was facing destruction because of solar flares, that Star Whale was drawn to Earth. All the peoples of Earth had managed to escape in massive city ships, but the people of Great Britain lacked the supplies to create an engine. The people were left hopeless and mostly heartbroken by the sounds of their children crying due to the increasing temperatures. It was these sounds that had drawn the whale to the planet, for as Amy put it, “When you're that old and alone and so full of kindness, what else can you do?” The whale intended to offer its services to the stranded people.

Unfortunately, the people of Great Britain misinterpreted this gesture of good will has a chance in a million miracle. They captured the whale, building their ship right on its back and carving open its brain to torture it into moving. The city built on its back became known as Starship UK. This led to the paradoxical situation in the ensuing years as the people began to realise they could not justify their survival off of the suffering of an innocent creature. But they believed if they released it, the creature would destroy the ship in its escape; so they devised the "Forget" system to erase their memories and the Smilers and Winders to ensure that no one discovered the truth and to “dispose” of those who didn't agree to have their memory erased by feeding them to the whale.

Eventually the Doctor discovered the heart of the ship, where the Smilers and their controllers were torturing the Whale with electric shocks to keep it moving, and faced the impossible situation. Angered that he would now have to sacrifice the life of an innocent and one of a kind being to save billions, the Doctor was prepared to lobotomise the Space Whale so it would no longer feel pain from the torture. Amy, however, noticed the Whale's neural tendrils affectionately playing with the children who the whale always refused to eat when they were sent down below. Remembering the Doctor's lesson about always observing she quickly put the pieces together and ran over to the control system to press the "Abdicate" button, freeing the Whale. The ship, however, did not explode as was originally feared but instead started to move faster "Well, now that the pilot's not being tortured" Amy explained, having deduced that the Whale had come willingly and was still willing to help the people of Great Britain.

The TARDIS then left, now that the people of Great Britain had a better understanding and respect for their benevolent benefactor. What was unnoticed however was another crack in the universe that ran across the side of the space ship. (DW: The Beast Below)

Behind the Scenes
The Star Whale is similar in appearance to the Cash Cow from (TW: Meat). It is possible it belongs to the same species or a related species.

The idea of the Star whale carrying a society on its back is a possible homage to Terry Pratchet's Great A tuin the Giant star Turtle who carries the Disc on its back.