Modulation is one of the most fundamental concepts in the field of data communication and computer networks, and understanding it is crucial because without modulation the long-distance transmission of information over any medium would be nearly impossible, as raw baseband signals cannot efficiently travel over the air or through wired channels due to attenuation, interference, and noise, so engineers developed techniques to alter or modulate certain properties of a high-frequency carrier wave in accordance with the message signal, allowing information to be superimposed and then recovered at the receiver side, and this simple principle lies at the heart of radio, television, telephony, satellite communication, mobile communication, and even computer networking; modulation in its broadest sense can be divided into two categories, namely analog modulation and digital modulation, where analog modulation is used when the message signal itself is analog in nature, like voice or music, and digital modulation is used when the message is represented as digital bits 0s and 1s, and under analog modulation the three classical schemes are Amplitude Modulation (AM), Frequency Modulation (FM), and Phase Modulation (PM), where AM changes the amplitude of the carrier in proportion to the message while keeping frequency and phase constant, FM changes the frequency of the carrier based on the message while keeping amplitude and phase constant, and PM changes the phase of the carrier according to the instantaneous value of the message, and each scheme has advantages and disadvantages, for example AM is easy to implement and historically important but highly susceptible to noise, FM provides better noise immunity and higher fidelity especially for audio broadcast but consumes more bandwidth, and PM is less intuitive but forms the basis for many advanced modulation schemes including digital phase shift keying; digital modulation, which is the real backbone of data communication and computer networks, modifies a carrier wave based on the binary information that is to be transmitted, and because computers and modern devices communicate in terms of digital bits, digital modulation is the default choice, and the simplest forms of digital modulation are collectively called shift keying techniques, where a specific property of the carrier—amplitude, frequency, or phase—is shifted or altered to represent different bit values, so we have Amplitude Shift Keying (ASK), Frequency Shift Keying (FSK), and Phase Shift Keying (PSK), with ASK representing binary data by varying the amplitude of the carrier such that a higher amplitude might represent a binary 1 and a zero amplitude or lower amplitude represents binary 0, and this technique is conceptually simple but suffers from poor noise performance since amplitude is easily corrupted by channel interference, while FSK varies the frequency of the carrier to represent bits, often with two distinct frequencies, one for binary 0 and