it is a way to describe the file type
file extentions are not enough, i could make a PHP script that generates a JPEG image, but the ULR would end with .php
The browser knows it is a jpeg image because it gets, in the HTTP header, an image/jpeg mime information.
in HFS you can configure the association between file types and mime information.