Even when its colony is under threat, it behave in such a way, it protect its colony from any intruders. Ants use swarming intelligence to detect intruders. While it detects a threat, it joins with many other ants to overcome their opponents.
This technique is effectively incorporated by cyber scientist into their security system at Wake Forest University, North Carolina, US. They call the ants as “digital ants” which will wander through computer networks looking for any intruders or worms or virus. Each time a digital ant detects any intruder, it is programmed to leave a strong digital scent ( a real ant leave a scent called as pheromones). The stronger scent trails attract more ants, producing the swarm that marks a potential computer infection. The researcher at the University has said that 3000 different types of digital ants could be deployed for evidence of a threat. As the digital ant moves over the network, they leave digital scent as trails to guide other ants.
This is very interesting which saves our computers and networks from viruses