Lore
The Song of Ice and Fire
Name Aegon the Conqueror gave to a dragon dream he had prior to his conquest

Our histories, they tell us that Aegon looked across the Blackwater from Dragonstone, saw a rich land ripe for the capture. But ambition alone is not what drove him to conquest. It was a dream. And just as Daenys foresaw the end of Valyria, Aegon foresaw the end of the world of men. 'Tis to begin with a terrible winter, gusting out of the distant north. Aegon saw absolute darkness riding on those winds, and whatever dwells within will destroy the world of the living.
"The Song of Ice and Fire" is the name Aegon the Conqueror gave to a dragon dream he had prior to his conquest.
Background
While ruling from Dragonstone, Aegon Targaryen experienced a prophetic dream in which he foresaw the return of the White Walkers and the Great War. He took this to mean that to counter the threat, a Targaryen must unite and rule the Seven Kingdoms of Westeros. On a Valyrian steel dagger, he inscribed: "From my blood will come the Prince That Was Promised, and his will be the Song of Ice and Fire."
House of the Dragon: Season 1
After deciding to name his daughter Rhaenyra heir to the Iron Throne, King Viserys I Targaryen tells her the prophecy and makes her promise to keep it secret. According to Viserys, the secret has been passed down from king to heir since Aegon's time.
Viserys shows Rhaenyra the dagger, heated in a burning brazier, relating to its history and previous owners. Rhaenyra examines the red-hot dagger, and reads the hidden message aloud.
Rhaenyra visits her father, whose health has severely deteriorated. She reminds him of the conversation they had about Aegon's dream; she fears that by naming her his heir, he divided the realm, instead of holding it unified against a common foe. Later, when Viserys is near death, he tells Alicent (mistaking her for Rhaenyra) that Aegon's dream is true, and that she is the one who must unite the realm against the cold and the dark. Alicent takes this to mean that he wishes for their son Aegon to inherit the throne.
Rhaenyra tells Daemon about "The Song of Ice and Fire," the coming war against the darkness in the North, the Conqueror's dream, that Viserys shared it with her when he named her his heir. Daemon dismisses that, stating that his brother was a slave to his omens and portents, anything to make his feckless reign appear to have purpose.
House of the Dragon: Season 2
Realizing that Alicent misunderstood Viserys's last words, Rhaenyra asks whether he mentioned "The Song of Ice and Fire"; Alicent shakes her head.
Jace, who disapproves of the rallying of dragonseeds to master the riderless dragons, fearing that they may decide to overthrow the Targaryens and rule the Seven Kingdoms, asks his mother pointedly "Did the Conqueror's dream foretell that?"
At Harrenhal, Daemon touches the sap of a weirwood tree and experiences multiple visions of the future, including a White Walker leading an army of wights. Later, Daemon informs Rhaenyra of the threat of a looming war, to which Rhaenyra notes he sounds like Viserys.
Game of Thrones: Season 8
Archmaester Ebrose's history book is titled A Song of Ice and Fire.
In the books
In the A Song of Ice and Fire novels, the meaning of the eponymous term "song of ice and fire" is unclear. Like in the TV-continuity, the song of ice and fire is said to belong to the prince that was promised. Prior to the release of House of the Dragon, George R.R. Martin hinted in interviews that Aegon foresaw the return of the white walkers and then conquered the Seven Kingdoms, but he did not specifically link it to the song of ice and fire.
When Meera and Jojen Reed swear allegiance to Winterfell and Bran Stark, they swear by "ice and fire."
When Daenerys is in the House of the Undying, she has a vision of Rhaegar and his wife, who is nursing their infant son Aegon. She hears Rhaegar say "He is the prince that was promised, and his is the song of ice and fire" (almost the same words inscribed on the dagger in the show) - the only place in the published novels in which the phrase has been mentioned. He then looks directly into Daenerys's eyes and says "There must be one more. The dragon has three heads"; this part of Rhaegar's enigmatic words has not been included in the references to the prophecy in the show.
Daenerys later asks Jorah what the term "song of ice and fire" might mean, to which Jorah replies "It's no song I've ever heard."
Maester Yandel wrote a history book titled The World of Ice & Fire (the in-universe counterpart to the real book written by Elio García and Linda Antonsson with Martin).
In Fire & Blood, the phrase "ice and fire" is mentioned only once: Cregan Stark and Jacaerys Velaryon reached an agreement, called by Munkun as the Pact of Ice and Fire.
Sources
Adapted from the original article, under CC BY-SA 3.0.






