I Am Blinding At Times Yet Help You See

Riddle: I am blinding at times yet help you see. I am necessary, but you’ll burn with too much of me. What am I?

Answer: Sunlight