what are kirchhoff's law?explain them.
Kirchhoff’s First Law − Junction Rule

The algebraic sum of the currents meeting at a point in an electrical circuit is always zero.
I_{1}, I_{2} I_{3}, and I_{4}
Convention:
Current towards the junction − positive
Current away from the junction − negative
I_{3} + (− I_{1}) + (− I_{2}) + (− I_{4}) = 0
Kirchhoff’s Second Law − Loop Rule

In a closed loop, the algebraic sum of the emfs is equal to the algebraic sum of the products of the resistances and current flowing through them.
For closed part BACB,
E_{1} − E_{2} = I_{1}R_{1}_{ }+ I_{2} R_{2} − I_{3}R_{3}
For closed part CADC,
E_{2} = I_{3}R_{3} + I_{4}R_{4} + I_{5}R_{5}