These factors mainly have to do with sight and smell.
Mosquitoes are very visual and they search for humans that are wearing particular colors.
When it comes to smell, they can detect carbon dioxide in your breath as well as the dozens of scents on your skin.
There are old wives' tales that eating bananas does not attract mosquitoes, and taking vitamin B-12 will not repel them.
However, what does repel them are sprays containing deet, which is your best defense from these buzzing pests.
Check with your pediatrician if you want to use deet products on your children.