Rainwater is fairly pure however it can also pick up some particulate matter and electrolytes from the air, although not much. It will be saturated with atmospheric CO2, so with a little buffering capacity, it will be at a pH of about 5.5, which is also the pH of carbonic acid, a weak acid. Hence rainwater is a weak acid.