These can be setup as an alternate way to navigate to a folder (or directory) in your hosting account. For example, if you setup a folder www.yourdomain.com/folder1, the sub domain http://folder1.yourdomain.com will show the contents of this folder.