My friend took a photo of the volcano as it erupted, spitting out hot lava.
Answer:
The verb which is used in beside of main verb
affected I believe is the answer
Explanation: