Everything which exists in the world exists through hanhagos. Nothing can happen in all of Existence unless it corresponds to some hanhaga. When we look at the events of the world, we try to understand, where does this come from? Which hanhaga is this consistent with? What is the function of this event? Learning about more hanhagos, we come to hanhagas hatava. What is its objective and what does it actually do? G-d needs to look at you and your neshama and evaluate what you have done to see if you have earned the good, the tov - or if you have sinned and must be punished.