A deposition is a legal procedure in which a witness provides sworn testimony outside of the courtroom, typically during the pre-trial phase of a lawsuit. It involves asking the witness questions, which are recorded for later use in court. Depositions help both parties gather information, assess the strengths and weaknesses of the case, and prepare for trial. The process is usually conducted by attorneys, and a court reporter records the proceedings.