Most browsers pass their name when they visit a page. Search engine robots also pass a user agent telling you who they are. But not all visitors pass this information. Some bots don't pass this, and some browsers can be configured to not pass it (or to pass a manually configured value). If they don't pass this value, you get a blank user agent.