What's the difference between length function and distance function in Unity Shader?

I'm confused about the two functions, do they return the same thing?

length() takes in one vector and returns the magnitude of that.
distance() takes in two and returns the distance between those. Basically, distance(a, b) is the same as length(a - b)