Multiple realities(covers information from several alternate timelines)
Goggles were protective eye-wear.
Pilots in the 20th century wore goggles when flying. As part of their Battle of Britain holosuite program, Miles O'Brien and Julian Bashir wore goggles as a component of their authentic Royal Air Force uniforms. (DS9: "Homefront")
Goggles very similar to these were worn by a visitor to a Paradise City bar on Cestus III in 2287. (Star Trek V: The Final Frontier)
In 2259 of the alternate reality, Pavel Chekov, along with other members of the engineering staff, wore goggles when working on or around the USS Enterprise's warp core. (Star Trek Into Darkness)
Goggles were used by Ezri Dax and Odo in observing O'Brien shooting a weapon at a melon in 2375. (DS9: "Field of Fire")