Why is the goal difference needed and in what cases is it taken into account?

 

v20240901