If you are a network administrator, knowing a computer’s hostname allows you to find that computer without knowing its full IP address. It also allows you to push commands, services, updates, etc. to that specific computer. If you are not a network administrator, you probably won’t ever need to know a hostname…unless your network administrator asks you to look up yours.