The water that falls from the sky today as rain may have once been part of the ocean. How can this be

The water that falls from the sky today as rain may have once been part of the ocean. How can this be