( ( ( ( ( ( Ionic compounds ) ( ( are not ) ( good ( at ( ( conducting electricity ) ( in ( the ( solid state ) ) ) ) ) ) ) ) , ) but ) ( they ( ( do ( conduct electricity ) ) ( ( ( when ( dissolved ( in water ) ) ) or ) ( when ( they ( are ( in ( ( the ( molten state ) ) ( -LRB- ( ( liquid ( by melting ) ) -RRB- ) ) ) ) ) ) ) ) ) ) ) . )
(ROOT (S (S (NP (JJ Ionic) (NNS compounds)) (VP (VBP are) (RB not) (ADJP (JJ good) (PP (IN at) (S (VP (VBG conducting) (NP (NN electricity)) (PP (IN in) (NP (DT the) (JJ solid) (NN state))))))))) (, ,) (CC but) (S (NP (PRP they)) (VP (VBP do) (NP (NN conduct) (NN electricity)) (SBAR (SBAR (WHADVP (WRB when)) (S (VP (VBN dissolved) (PP (IN in) (NP (NN water)))))) (CC or) (SBAR (WHADVP (WRB when)) (S (NP (PRP they)) (VP (VBP are) (PP (IN in) (NP (NP (DT the) (NN molten) (NN state)) (PRN (-LRB- -LRB-) (ADJP (JJ liquid) (PP (IN by) (NP (NN melting)))) (-RRB- -RRB-)))))))))) (. .)))
Ionic compounds are not good at conducting electricity in the solid state, but they do conduct electricity when dissolved in water or when they are in the molten state (liquid by melting).
(ROOT (S (NP (NNP Ionic)) (VP (VBZ compounds) (NP (NP (JJS best) (NN conduct) (NN electricity)) (PP (IN in) (NP (DT a) (JJ liquid) (NN state))))) (. .)))