What is the role of the witness in the courthouse? What is the role of lawyer?

You can look up both roles in a dictionary and/or a search engine such as Goofle.

http://www.answers.com/witness

http://www.answers.com/lawyer