 I'm not sure that, in that sense, living things need to have a point in that way. They're not there to serve some purpose. They're there because there's an opportunity for life to fill that gap. And mosquitoes found, or their ancestors found, a way to make a living doing this, and they went to fill that niche.