Question: why bypass capacitor is used?
Answer: A Bypass Capacitor is usually applied between the VCC and GND pins of an integrated circuit. The Bypass Capacitor eliminates the effect of voltage spikes on the power supply and also reduce the power supply noise. The name Bypass Capacitor is used as it bypasses the high frequency components of power supply.