Mosquitoes are attracted to a sweaty body
Depending on the surrounding temperature, your bodies generate heat and perspire. The body will sweat a lot to keep cool while it's heated. Mosquitoes can detect your body temperature and sweat when they are nearby. Mosquitoes are drawn to sources of heat and favor hot temperatures. As a result, mosquitoes can choose from a variety of hosts. They appear to favor humans' relatively consistent warmth as opposed to some animals whose temperature changes depending on the environment.
Lactic acid, ammonia, and uric acid are present in trace levels in your sweat. Mosquitoes enjoy the taste of lactic acid and the increased amounts of carbon dioxide that you exhale while you perspire. That's why some companies sell carbon lamps to make mosquito traps. This means you should avoid walking, jogging, or exercising outdoors in the summer, in humid places, or near water. Whether you're camping or out for a long time, try to change into clean clothes and socks every day.