Termites live in a colony, just like ants, and have specific roles for helping to maintain the colony.
There is a queen and king, soldiers and workers, and alates (or winged termites).
A new termite colony is started when males and females leave their colony to mate. During the mating period, both males and females have wings and fly around in order to find a mate and a location to establish their new colony.