Vertical curves are used in highway design to gradually transition between two different slopes or grades. There are two main types - crest vertical curves, which are used on roadway tops, and sag vertical curves, which are used on dips. The minimum length of a vertical curve is determined based on providing the required stopping sight distance for a given design speed. Additional criteria like passenger comfort, drainage, and appearance may also influence the curve length selected. Longer vertical curves generally provide a smoother ride but require more construction costs.