Rainwater gets into the oceans and seas through the process of runoff. When it rains, the water flows over the land, picking up various substances along the way, and eventually makes its way into rivers, streams, and ultimately the oceans and seas. This process is essential for replenishing the water cycle and maintaining the balance of water in different ecosystems.