In electrical engineering, what is the primary purpose of loop analysis in circuit design?
A. To measure the temperature of various components in a circuit
B. To determine the total resistance of a circuit
C. To analyze and calculate the currents and voltages within different loops of a circuit
D. To check the physical connections and solder joints in a circuit board