It depends on your definition, mosquitoes rest and go through periods where they are inactive, but it’s not completely the same as how we sleep. Mosquitoes typically rest during the day, but some mosquitoes rest at night. This is why you can see mosquito activity at different times of the day.
In trees, bushes, tall grasses, brush and more
Mosquitoes have piercing-sucking mouthparts. When a mosquito “bites” you, it pierces your skin with its beak or proboscis and secretes saliva. This saliva acts as a source for allergic reactions or pathogens of those known as disease vectors.