A blue roof stores rainwater temporarily and releases it back into the environment gradually, reducing flooding and protecting local drainage systems.