Ophthalmologists warn that exposure to sunlight can be hazardous to the human eye, in the backdrop of extreme heat being experienced in the country.