The Atlas Mountains are a mountain range in the Maghreb in North Africa. It separates the Sahara Desert from the Mediterranean Sea and the Atlantic Ocean; the name "Atlantic" is derived from the mountain range. It stretches around through Morocco, Algeria and Tunisia. The range's highest peak is Toubkal, which is in central Morocco, with an elevation of . The Atlas mountains are primarily inhabited by Berber populations. The terms for 'mountain' are Adrar and adras in some Berber languages, and these terms are believed to be cognates of the toponym Atlas. The mountains are also home to a number of animals and plants which are mostly found within Africa but some of which can be found in Europe. Many of these species are endangered and a few are already extinct. The weather is cooling but has sunny summers, and the average temperature there is 25°C. Geology The basement rock of most of Africa was formed during the Precambrian supereon and is much older than the Atlas Mountains lying on the continent. The Atlas was formed during three subsequent phases of Earth's geology. The first tectonic deformation phase involves only the Anti-Atlas, which was formed in the Paleozoic Era (~300 million years ago) as the result of continental collisions. North America, Europe and Africa were connected millions of years ago. The Anti-Atlas Mountains are believed to have originally been formed as part of Alleghenian orogeny. These mountains were formed when Africa and America collided and were once a chain rivaling today's Himalayas. Today, the remains of this chain can be seen in the Fall Line region in the Eastern United States. Some remnants can also be found in the later formed Appalachians in North America. A second phase took place during the Mesozoic Era (before ~66 My). It consisted of a widespread extension of the Earth's crust that rifted and separated the continents mentioned above. This extension was responsible for the formation of many thick intracontinental sedimentary basins including the present Atlas. Most of the rocks forming the surface of the present High Atlas were deposited under the ocean at that time. Finally, in the Paleogene and Neogene Periods (~66 million to ~1.8 million years ago), the mountain chains that today constitute the Atlas were uplifted, as the land masses of Europe and Africa collided at the southern end of the Iberian Peninsula. Such convergent tectonic boundaries occur where two