Geologists think that about two million years ago, Madagascar was a part of a big landmass that included what is now the continent of Africa, but it broke off. Madagascar would later break off of the Indian subcontinent.