Question: are gnats attracted to earwax?
Answer: Some kinds of mosquitoes (sometimes incorrectly referred to as 'gnats') may fly near a person's ears. When they're close enough, their oscillating wings can be readily detected. But, the mosquitoes are not likely to enter the ear canal. At most, they'll settle on the ear lobe and feed there.