Testifying is a way of presenting evidence to the court using a witness. A witness testifies by answering questions asked by the lawyers and the judge. The answers the witness gives are called their testimony. The witness answers questions under oath or after giving an affirmation. With an oath or an affirmation, the witness promises to tell the truth in court.