"The magi... were the first to give Christmas gifts. Being wise, their gifts were doubtless wise ones. And here I have told you the story of two children who were not wise. Each sold the most valuable thing he owned in order to buy a gift for the other. But let me speak a last word to the wise of these days: Of all who give gifts, these two were the most wise. Of all who give and receive gifts, such as they are the most wise. Everywhere they are the wise ones. They are the magi." - The Gift of the Magi

The title "The Gift of the Magi" refers to another story. This is an example of a literary device known as
Onomatopoeia
Simile
Allusion
Metaphor

Allusion