Hi, Mitch

see 7805 Datasheet for that : it's for avoiding reverse current flowing through the regulator when input voltage is < output voltage ( typically @ power shutdown ...)

Note Anode is @ reg output and Cathode @ reg input .... !!!

Alain