you collect rain samples on a mountain which step in the water cycle and most likely happened before the water got there
evaporation
condensation
precipitation
all the above