Weather fronts can cause clouds to form. Fronts occur when two large masses of air collide at the Earth's surface.
Warm fronts produce clouds when warm air replaces cold air by sliding above it. Many different cloud types can be created in this way: altocumulus, altostratus, cirrocumulus, cirrostratus, cirrus, cumulonimbus (and associated mammatus clouds), nimbostratus, stratus, and stratocumulus.
Cold fronts occur when heavy cold air displaces lighter warm air, pushing it upward. Cumulus clouds are the most common cloud types that are produced by cold fronts. They often grow into cumulonimbus clouds, which produce thunderstorms. Cold fronts can also produce nimbostratus, stratocumulus, and stratus clouds.