Know how power factor correction works