How are oceans born?

The oceans have not always looked the same as they do today. Their shape and size keep changing over the course of geological time. There are even places on Earth where they are still in the making. This raises the question of where and how oceans form. The Earth sciences help to shed light on the mechanisms underlying this phenomenon.
Author: Redaction