The synthetic resin lens (1) has a function to generate heat by selectively absorbing infrared rays with wavelengths of 780 to 3000nm. The synthetic resin lens (1) includes an infrared absorber. Selective absorption of infrared rays allows the synthetic resin lens (1) itself to generate heat and thus the lens (1) of the present invention has the same function as being electrically heated to prevent fogging.