Elephants are fleeing their destroyed habitats in Africa and trampling onto the land of farmers destroying fences and land. Researchers are looking for ways to end the problem. Since elephants avoid chili plants, they are planting them along the perimeter of farms. They are also putting heavy duty fencing on the farm lands.
Another approach they are studying is bees. Elephants are deathly afraid of bees. Bees in Africa are much more aggressive than those in Europe and North America. They're known for chasing their antagonists for over a kilometer. Elephants have pretty thick skin, but there are certain areas like the belly and inside the trunk that have softer skin and tissue vulnerable to the bee stings.
Researchers actually found that elephants have a stamping dance they do to deter them. It isn't a very practical application to Kenyan farmers, though. They don't have the resources or funds to get sound equipment to mimic the bees and real bees would cause a problem on the farm.