Very Bad explanation

I didn’t understand the if and else case reached at the end of the video, even after watching it twice.