Diode for keeping voltage off the charge connector port when charge/discharge wires are in a shared configuration. Or for other use cases where voltage needs to be blocked in one direction.
I recommend that all builders use diodes and heatsinks to protect the batteries, especially in cases where you have not adopted a unique charger wirin...