First water evaporates from watersources on earth, mostly from seas. Them, it forms clouds on the atmosphere. These will condense and give way to precipitation. Once the rain falls, some will form puddles, some will fall back from where they came frome (rivers, lakes and oceans) and part of it will be drained to underground watersources, in a process called infiltration.
The water cycle also includes some less important processes such as sublimation, transpiration and evapotranspiration.
→ Hopefully the image below will help you understand the water cycle better.
Hope it helped,
BioTeacher101