( ( Air pollution ) ( also ( ( ( affects ecosystems ) ( worldwide ( by ( causing ( ( ( ( ( ( acid rain ) , ) ( ozone depletion ) ) , ) and ) ( global warming ) ) ) ) ) ) . ) ) )
(ROOT (S (NP (NNP Air) (NN pollution)) (ADVP (RB also)) (VP (VBZ affects) (NP (NNS ecosystems)) (PP (ADVP (RB worldwide)) (IN by) (S (VP (VBG causing) (NP (NP (JJ acid) (NN rain)) (, ,) (NP (NN ozone) (NN depletion)) (, ,) (CC and) (NP (JJ global) (NN warming))))))) (. .)))
Air pollution also affects ecosystems worldwide by causing  acid rain, ozone depletion, and global warming.
(ROOT (S (NP (NNP Air) (NN pollution)) (VP (VBZ causes) (NP (NP (JJ acid) (NN rain)) (, ,) (NP (NN ozone) (NN depletion)) (, ,) (CC and) (NP (JJ global) (NN warming)))) (. .)))