One known evolutionary purpose of mosquitos is that "mosquitoes represent a considerable biomass of food for wildlife on the lower rungs of the food chain."[1] so they are feeding the some other species that may or may not have direct impact on humans.
[1]: http://insects.about.com/od/flies/a/10-facts-about-mosquitoe...