What exactly is a cold front?

A cold front is the boundary between a cold air mass that is replacing a relatively warm air mass.