Modulation is a technique used to vary the characteristics of a carrier signal in accordance with a message signal. There are two main types of modulation: analog and digital. Analog modulation varies amplitude, frequency, or phase of a sinusoidal carrier signal. The three types of analog modulation are amplitude modulation (AM), frequency modulation (FM), and phase modulation (PM). AM varies the amplitude of the carrier, FM varies the frequency, and PM varies the phase. Digital modulation uses digital signals such as amplitude-shift keying, frequency-shift keying, and phase-shift keying.