They help find explosives and potential threats like terrorist attacks.