It's not C:\windows\system32\drivers\etc, it's C:\windows\system32\drivers\etc\hosts. But okay.

They basically allow you to point a hostname to an IP. Say I'd want to point google.com to 127.0.0.1, I'd just add:
Code:
127.0.0.1     google.com