Understanding LCR Circuits: Components, Function, and Applications