Well, not so much the elephants themselves. Their dung!
(registration may be required to read the full article.) It turns out that a herd of six elephants produces 1,000 lbs of dung per day, which in turn can be used to produce methane gas for heating and lighting.