( Atoms ( ( can ( ( ( ( lose or ) gain ) electrons ) ( to ( form ( charged ions ) ) ) ) ) . ) )
(ROOT (S (NP (NNS Atoms)) (VP (MD can) (VP (VB lose) (CC or) (VB gain) (NP (NNS electrons)) (S (VP (TO to) (VP (VB form) (VP (VBN charged) (NP (NNS ions)))))))) (. .)))
Atoms can lose or gain electrons to form charged ions .
(ROOT (S (NP (NP (JJ Ionic) (NN compound) (NNS atoms)) (PP (IN of) (NP (JJ various) (NNS elements)))) (VP (VBP gain) (CC or) (VBP lose) (NP (NNS electrons) (S (VP (TO to) (VP (VB produce) (NP (NNS ions))))))) (. .)))