*** Not A Teacher ***
It can be used nearly in every thing because its a verb and noun.
Witness meant as a noun "a person who sees an event happening, especially a crime or an accident"
And means as a verb "be present, happen, show" in other words "to show or give proof of something"
I hope others will give you a clear answer.
Student or Learner