A junction box has bypass diodes that continue to keep ability flowing in one route and stop it from feeding back on the panels.
A neat bypass change works like an on/off switch and opens the circuit when panels https://alexiaibue750137.theideasblog.com/30719192/about-what-is-pv-junction-box