In the section about fuels, my textbook mentions that the boiling and freezing-points of alkanes (which are non-polar) increase with an increase in molecular mass due to London dispersion forces.
Now, I understand what these are and why they become relevant when talking about non-polar molecules, but I can't figure out how they are connected to the boiling and freezing point of the matter. How do these London dispersion forces influence the boiling and freezing point?