from …, as something to protect one’s eyes against
彼女は日差しから目を守るためにサングラスをしました。
She put on sunglasses to protect her eyes from the sunlight.
私は太陽から目を保護するため、サングラスをかけていた。
I was wearing sunglasses to protect my eyes from the sun.
サングラスは日光から目を守ってくれる。
Sunglasses protect your eyes from the sun.