Earth is the fifth-largest planet of the eight in the Solar System. It is also the largest, most massive, and densest of the Solar System's four terrestrial planets. Home to millions of species, including humans, Earth is the only place in the Universe where life is known to exist. The planet formed 4.54 billion years ago, and life appeared on its surface within a billion years. The world is expected to continue supporting life for another 0.5 billion years. Earth's outer surface is divided into several rigid segments that gradually migrate across the surface over periods of many millions of years. About 71% of the surface is covered with salt-water oceans, the remainder consisting of continents and islands. Earth's interior remains active, with a thick layer of relatively solid mantle, a liquid outer core that generates a magnetic field, and a solid iron inner core. Earth interacts with other objects in outer space, including the Sun and the Moon. The mineral resources of Earth, as well as the products of the biosphere, contribute resources that are used to support a global human population. The human inhabitants are grouped into about 200 independent sovereign states and have developed many views of the planet.