While it might actually be a flying ant, another possibility is the termite. The winged stage is the reproductive stage of termites. At this time, large swarms appear and may be seen crawling on the ground or on nearby objects.
Termite swarms are more likely to occur during the day.
Frequently they are spotted after spring rainstorms. A home is not necessarily infested if a swarm is seen outside, but if a swarm occurs indoors it is time to take action. Spraying the swarm itself might make you feel as if you are doing something, but it is not going to rid you of a termite problem. The colony stays hidden safely underground or within a wooden structure. If your home is under a contract with a pest control company, contact the company immediately and schedule an inspection.