Witnessing a document

What does a witness do exactly? Why is a witness’ signature important both for legally and non-legally binding documents? Have a look here!
What does a witness do exactly? Why is a witness’ signature important both for legally and non-legally binding documents? Have a look here!