Explain the function of a choke in an electrical circuit.
A choke is an inductor designed to block high-frequency alternating current (AC) in an electrical circuit while allowing lower frequencies or direct current (DC) to pass. It's used for filtering and power conditioning, preventing electromagnetic interference (EMI) from affecting sensitive components.