( ( An ion ) ( ( is ( ( an atom ) ( that ( ( ( is either ) ( ( positively or ) negatively ) ) ( charged ( as ( ( a result ) ( of ( ( ( losing or ) gaining ) electrons ) ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (DT An) (NN ion)) (VP (VBZ is) (NP (NP (DT an) (NN atom)) (SBAR (WHNP (WDT that)) (S (VP (VBZ is) (RB either) (ADVP (ADVP (RB positively)) (CC or) (ADVP (RB negatively))) (VP (VBN charged) (PP (IN as) (NP (NP (DT a) (NN result)) (PP (IN of) (S (VP (VBG losing) (CC or) (VBG gaining) (NP (NNS electrons))))))))))))) (. .)))
An ion is an atom that is either positively or negatively charged as a result of losing or gaining electrons.
(ROOT (S (NP (DT An) (NN ion)) (VP (VBZ is) (NP (NP (DT an) (NN atom) (CC or) (NN group)) (PP (IN of) (NP (NP (VBN bonded) (NNS atoms)) (SBAR (WHNP (WDT that)) (S (VP (VBZ has) (NP (DT a) (ADJP (JJ positive) (CC or) (JJ negative)) (NN charge))))))))) (. .)))