A witness answers questions under oath, usually with a court reporter present, and the transcript can be used later at trial.