The principle of conservation of energy implies that The directed sum of the electrical potential differences (voltage) around any closed network is zero.
Since voltage across a resistor with current passing through it is the resistance multiplied by the current in it, the law states that the algebraic sum of the product of resistance and current in each part of any closed circuit is equal to the algebraic sum of the emf's in that closed circuit.