Voir dire is a legal procedure in which attorneys and judges question prospective jurors to assess their suitability for jury service, ensuring an impartial jury is selected. This process helps to identify any biases or preconceived notions that could affect the fairness of a trial, thereby upholding the defendant's right to a fair trial under the Sixth Amendment in the United States.