Why does warm air slide over cold air at worm fronts?

Warm air is lighter then cold air. So the cold air sinks and the warm air raise.