Question: are carpenter ants attracted to light?
Answer: Swarming carpenter ants are attracted to light, and need to escape into the world to mate and start a new colony. This behavior sends them to sunny windows, and also attracts them to houses at night.