Situational irony is used by O. Henry in "The Gift of the Magi" by having both Della and Jim make sacrifices that ultimately render the presents they buy for each other meaningless. The irony is that their sacrifice and devotion are worth more than the presents themselves. This irony is employed in the climax when both characters become aware of their sacrifice and their thoughtful but pointless gifts.