They feed on the blood of other mammals. In some species, both male and female mosquitoes feed on blood but the males generally feed only on the nectar and juices of plants. Female mosquitoes feed on blood to generate enough protein in their bodies to lay eggs.