Dogs are trained for different things. They could be searching for cash or explosives/weapons. My dad was on a train in Norway years ago and a policeman came through with a dog. The dog stopped at my dad and the policeman asked him if he had cash in his pocket. My dad said yes showed him the cash and then he just moved on.