A witness is someone who gives information in court to help a judge decide a case. For example, a witness might be a friend or family member who can tell the judge what they know about things like your relationship with your child.
A witness usually gives this information by testifying in court. All parties in a case get the chance to ask a witness questions through direct examination, cross-examination, and re-examination. The judge may also ask the witness questions.