what is the probability density function of a hazard?i have no idea what is is other than it relates to measuring of a risk. I don't know if that is correct either. i really don't understand what it is

It is the likelyhood of an event in a specific segment of the distribution

https://www.dictionary.com/browse/probability-density-function?s=t
It will make much more sense once you understand and can use Calculus.