I think you mean lens hoods not camera hoods.
Hoods reduce lens flare to a certain degree but you still get it, depending where the sun is in relation to the front element of the lens (the closer the sun/bright light source, the more glare).
I always use the hoods because they provide both protection from glare and physical protection for the front of the lens (body of lens and front element).
I also use protective filters on lenses used "in the field" because you never know when the front of your lens is going to meet a spiky twig, dust, or flying liquid spatter, which the hood won't stop.
If you never venture outdoors I wouldn't bother with either.
PS Never put the hood on the lens back-to-front indoors, then forget about it when you head out and shoot all day with it back-to-front. A schoolboy error.