The Lens hood is primarily intended to prevent unwanted stray light from entering the lens and causing flare.