Nolo's Plain-English Law Dictionary

Witness

A person who testifies under oath at a deposition or trial, providing firsthand or expert evidence. The term also refers to someone who watches another person sign a document and then adds his or her name to confirm (called "attesting") that the signature is genuine.
NOLO-web1:DRU1.6.8.27.20160928.41205