Interconnecting Two DC sources
Vary the voltage level of both sources, and then you will notice that, the source with greater voltage will supply the load
The diodes are used to prevent the sources from reverse polarity effects
Like, when Vdc1 >Vdc2, the current from Vdc1 will go to Vdc2 and Vice versa, to avoid this, the diodes are used.