Female mosquitoes bite people and animals because they need the protein found in blood to help develop their eggs. Mosquitoes are attracted to people by skin odors and carbon dioxide from breath. The active ingredients in repellents make the person unattractive for feeding.
Repellents do not kill mosquitoes. Repellents are effective only at short distances from the treated surface, so you may still see mosquitoes flying nearby.