Any damage on that defeated Character is inflicted to your HP. Yume gains any XP that defeated Character had.
Rulings[ | ]
Yume's Trigger Effect does not grant XP equal to the level of the defeated allied Character on top of the XP on that Character because defeating allied Characters does not grant XP.