Dogs learn how to stay away from poisonous things