At depositions, witnesses appear at a predetermined time and place and give testimonies under oath. Depositions typically occur during the discovery phase of a lawsuit and have two purposes: first, to learn what the witnesses know and record their testimonies, and second, to allow both parties to learn all of the facts before their trial so that no one is caught off-guard during the trial.