Analysis of Lighting Circuits and their Practical Applications