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 2155, goggles were worn by the members of an away team from Enterprise NX-01 while they walked on the surface of Mars. (ENT: "Terra Prime")
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)
Four years later, James T. Kirk wore goggles while driving a PX70 motorcycle around the surface of Altamid as a distraction. (Star Trek Beyond)
Goggles were used by Ezri Dax and Odo in observing O'Brien shooting a weapon at a melon in 2375. (DS9: "Field of Fire")