All Tieflings of the Bloodline of Asmodeus (the default Tiefling described in the Player’s Handbook), regardless of class, can cast Hellish Rebuke once per long rest beginning at 3rd level. This is a racial ability that does not cost spell slots (if the character has any) and is cast as a 2nd-level spell using Charisma as the spellcasting ability.