what's the point of a corsage?

I don't get it. They're ugly and seem useless, is there some sort of tradition behind them?