"file::url" and "file::version" - what, when?

I don’t really get the difference between the file::url and file::version components.
It seems like they kinda do the same, but both are needed:

But I didn’t find any documentation for file::version