What is the aim of water harvesting?

The aim of water harvesting is to collect and store rainwater by using special techniques for future use when there is shortage of water or during non-rainy days. This water can be used for irrigation or it can be purified and can be used for drinking and other domestic purposes.