Bear spray was developed in the 1980s after a spate of fatal bear attacks against people. It uses the same active ingredient as pepper spray — capsaicin, a chemical component of chili peppers — but at levels that can make it twice as powerful.