The q factor, or quality factor, is a dimensionless parameter that describes how underdamped an oscillator or resonant circuit is, quantifying the sharpness of its resonance peak. A high q factor indicates a lower rate of energy loss relative to the energy stored in the system, resulting in a narrow and high resonance peak, while a low q factor signifies higher energy loss and a broader resonance peak. This term is essential for understanding how circuits behave in response to alternating current and how they resonate at specific frequencies.