A battery hot-swap circuit is used to allow equipment to keep operating when a discharged battery is replaced with a charged one, such as in an electric drone.
Two diodes can be simply used for this, but that leaves the forward drop of the diode during operation which reduces circuit efficiency...