Question: how is xp awarded in d&d?
Answer: The rules provide that XP is granted for defeating creatures, and each creature has a set XP value — the sum total of the XP for all defeated creatures in an encounter is usually divided evenly among the PCs who fought them.