Rain harvesting involves the collection of rainwater from rooftops through gutters and downspouts. The water is then stored in rain barrels or tanks and can be used for activities like watering gardens, flushing toilets, or even as a source of drinking water with proper filtration.