As a witness do I have to testify in front of the defendant in court?

The defendant must be present in court to hear the testimony of the witnesses. The lawyer for the defendant is called the defense attorney and will ask you questions after the prosecutor asks questions.