It came over the chat.
( It ( ( came ( over ( the chat ) ) ) . ) )
(ROOT (S (NP (PRP It)) (VP (VBD came) (PP (IN over) (NP (DT the) (NN chat)))) (. .)))
Chat was used for the communication.
( Chat ( ( was ( used ( for ( the communication ) ) ) ) . ) )
(ROOT (S (NP (NNP Chat)) (VP (VBD was) (VP (VBN used) (PP (IN for) (NP (DT the) (NN communication))))) (. .)))