Hi, Yeah a lens hood is designed to block out glare and lens flare from the sun and other light sources. For a zoom lens generally a petal or flower shaped hood is used so that the field of view isn't blocked where as with a wide angle lens most use a normal circular hood or none at all.
Hope this Helps
Alan