Mexico ranks fourth in the world in biodiversity and is one of the 17 megadiverse countries. With over 200,000 different species, Mexico is home of 10–12% of the world's biodiversity. Mexico ranks first in biodiversity in reptiles with 707 known species, second in mammals with 438 species, fourth in amphibians with 290 species, and fourth in flora, with 26,000 different species. Mexico is also considered the second country in the world in ecosystems and fourth in overall species. About 2,500 species are protected by Mexican legislations.