Mosquitoes have a specialized proboscis to enable them to pierce skin and suck blood.
In some cases the mosquito will bite straight away, whilst in others it will probe around to find a suitable place.
If no suitable biting place can be found, the mosquito will fly away to search for a better place.