Hans Christian Andersen’s tale about a bird whose song impresses an emperor is The Nightingale. The story was first published in 1843.
A Chinese emperor learns that the most beautiful thing in his empire is the song of a nightingale living in the forest. The emperor summons the bird to court, where its singing moves him deeply. Later, the emperor receives a mechanical bird decorated with jewels and begins to prefer its predictable performances.
The mechanical bird eventually breaks, while the real nightingale leaves the palace. When the emperor becomes seriously ill, the living bird returns and sings for him. Its song restores hope and helps him recover.
The story contrasts living art with imitation and mechanical repetition. Andersen drew inspiration from his visit to the Tivoli Gardens in Copenhagen, where he saw a nightingale and later encountered a mechanical object. The tale’s setting is presented as China, though its court and imagery reflect nineteenth-century European ideas about the East.