Many thousands of years ago, the Sahara was a thriving fertile area - they keep on digging up bits of trees, etc out there. Many animals including elephants lived there. Of course, long before that it was part of the seabed...