Is Madagascar a country capital or a continent?

It is an island nation off the east coast of Africa. The country is the Republic of Madagascar.