( Ions ( ( are ( ( ( atoms or ) molecules ) ( that ( ( ( have lost ) or ) ( gained electrons ) ) ) ) ) . ) )
(ROOT (S (NP (NNS Ions)) (VP (VBP are) (NP (NP (NNS atoms) (CC or) (NNS molecules)) (SBAR (WHNP (WDT that)) (S (VP (VP (VBP have) (VP (VBN lost))) (CC or) (VP (VBD gained) (NP (NNS electrons)))))))) (. .)))
Ions are atoms or molecules that have lost or gained electrons.
(ROOT (S (SBAR (WHADVP (WRB When)) (S (NP (DT an) (NN atom)) (VP (VBZ gains) (CC or) (VBZ loses) (NP (DT an) (NN electron))))) (NP (PRP it)) (VP (VBZ becames) (NP (DT a) (PRN (-LRB- -LRB-) (NP (NN n)) (-RRB- -RRB-)) (NN ion))) (. .)))