A variable capacitor is a capacitor whose capacitance can be varied to a certain range of values based on necessity. The two plates of the variable capacitor are made of metals where one of the plates is fixed, and the other is movable. Their main function is to fix the resonant frequency in the LC circuit. There are two types of variable frequency and they are, tunning capacitors and trimming capacitors.