What does a witness do?

Can you answer this question?