From A Wiki of Ice and Fire
Lightbringer is the sword of Azor Ahai, a legendary hero who is prophesied to fight the Great Other. Lightbringer is thought to be a sword made of living fire. It is also known as the Red Sword of Heroes.
The Legend of Lightbringer
Darkness lay over the world and a hero, Azor Ahai, was chosen to fight against it. To fight the darkness, Azor Ahai needed to forge a hero's sword. He labored for thirty days and thirty nights until it was done. However, when he went to temper it in water, the sword broke. He was not one to give up easily, so he started over. The second time he took fifty days and fifty nights to make the sword, even better than the first. To temper it this time, he captured a lion and drove the sword into its heart, but once more the steel shattered. The third time, with a heavy heart, for he knew before hand what he must do to finish the blade, he worked for a hundred days and nights until it was finished. This time, he called for his wife, Nissa Nissa, and asked her to bare her breast. He drove his sword into her breast, her soul combining with the steel of the sword, creating Lightbringer.
It has been foretold in the books at Asshai that when the stars bleed and the cold winds blow, a warrior shall draw from the fire a burning sword. That sword will be Lightbringer. The one who draws it will be Azor Ahai.
Under the direction of Melisandre, Stannis Baratheon attempted to take the mantle of Azor Ahai by plunging a sword into a pyre of burning relics of the Seven. When he pulled the sword out, it glowed with a magical light, but close inspection revealed that the sword was not actually hot. According to Maester Aemon, the real Lightbringer both shone and radiated heat.
|“||Stannis, that’s a very pretty sword, I’ll grant you, but I think the glow off it has ruined your eyes.||”|
|“||That sword was not Lightbringer, my friend. ||”|
|“||The sword is wrong, she has to know that ... light without heat ... an empty glamour ... the sword is wrong, and the false light can only lead us deeper into darkness. ||”|
There are many popular fan beliefs as to what Lightbringer actually is. See Lightbringer/Theories.