A:Hats are great and I recommend them, but sunglasses protect your eyes from ultraviolet rays that can contribute to causing cataracts and macular degeneration. It is important to get sunglasses that block 100 percent of the harmful UV and have good optical quality.