Question: how kcl is based on conservation of charge?
Answer: Kirchoff's current law (KCL) states that the algebraic sum of branch currents flowing into and out of a node is equal to zero. This is an outcome of the principle of the conservation of electric charge. If any new charge enters a node some equal amount of charge must exit.