Baking - The Beginners Guide

Why putting the cake in the fridge for cooling not good?