Bears can smell food 20 miles away. Polar Bears from 40 miles.
A bears sense of smell is 100 times better than a dog, and 2500 times better than a human.
Tips and advice for camping with bears.
https://www.thedailymeal.com/entertain/9-items-most-likely-attract-bear-your-campsite-0/slide-8