What are distances?
There are many types of distance (a.k.a. distance function or metric), of broad use in machine learning for comparing data.
Frank Nielsen has a Distances Portal covering many of them, and a poster of a Taxonomy of principal distances:
This series will dive into some of the distances shown above.