Questions & Answers about Mi prenas ombrelon, kiam estas vento kaj pluvo.
Because ombrelon is the direct object of prenas.
In Esperanto, the ending -n marks the thing directly affected by the verb. Here:
Mi = the person doing the action
prenas = take
ombrelon = the thing being taken
So ombrelo becomes ombrelon because it is what the speaker takes.
Esperanto does not need a dummy subject like English it in sentences about weather or general conditions.
English says things like:
it is raining
it is windy
But in Esperanto, you can simply say:
pluvas = it is raining
estas vento = there is wind / it is windy
So kiam estas vento kaj pluvo is normal Esperanto. There is no need to insert a subject just because English would.
Both styles are possible, but they are slightly different in form.
estas vento kaj pluvo literally means something like there is wind and rain. It uses the nouns vento and pluvo.
A more verbal version could be:
kiam ventas kaj pluvas
That means when it is windy and raining.
The sentence you were given chooses the noun-based expression. It is completely natural and easy to understand.