Power gating involves the use of power switches or sleep transistors that can disconnect the power supply to a section of the circuit. When a part of the circuit is not required, the power switch is turned off, effectively isolating that section from the power supply. These switches are controlled by a power management unit which decides when to turn them on or off based on the operating conditions and performance requirements.