Knowing the best ways to get XP in Dying Light 2 is useful if you want to unlock useful new skills.
In general, there are two ways of earning XP – by completing story missions, and by participating in combat and parkour, the latter of which will reward you with skill points to help develop them further with new abilities.
Source – eurogamer.net