Police dogs in Brazil are more used to sniffing out drugs than explosives, but with the Olympics coming up, they have been training hard to help thwart potential terrorist attacks, AFP reports.

Although Brazil has never suffered a terrorist attack on its soil, it is on high alert for any threats at the Games, which open in Rio de Janeiro on August 5.

To prepare, the Rio Canine Intervention Brigade just completed a two-week training with specialists from a French elite police force, RAID.

The dogs showed off their new skills Wednesday in exercises at Rio's international airport.