Mosquitos don't necessarily hate the smell of lemongrass. As mentioned above it's more a case that their sense of smell is somehow blocked or overloaded by the smell of the citronella essential oils produced by the plant. This then masks the presence of their prey! Essential oil and other smells, including pine, camphor, catnip, eucalyptus, cinnamon, cedar, and rosemary can all have a similar effect.