Rain barrel for rainwater harvesting