A deposition is a formal legal process in which a witness provides sworn testimony outside of court, typically during the…