Indonesia, [c] officially the Republic of Indonesia, [d] is a country in Southeast Asia and Oceania, between the Indian and Pacific oceans. It consists of over 17,000 islands , including Sumatra , Java , Sulawesi , and parts of Borneo and New Guinea .