Power factor is the ratio of real power to apparent power in an AC circuit. Real power is the power that does useful work, such as heating, lighting, or rotating a motor. Apparent power is the product of voltage and current in an AC circuit. Power factor can be affected by the phase difference between voltage and current, and by the presence of reactive components, such as capacitors and inductors. A low power factor means that the circuit is drawing more current than necessary, which can cause losses, voltage drops, and overheating. To improve the power factor, power electronics can use devices such as power factor correction (PFC) circuits, active filters, or synchronous condensers. Harmonics are distortions in the waveform of voltage or current caused by non-linear loads, such as rectifiers, inverters, or choppers. Harmonics can reduce the power quality, efficiency, and reliability of the system, and can interfere with other devices. To reduce harmonics, power electronics can use devices such as passive filters, active filters, or pulse-width modulation (PWM) techniques.