A proceeding for taking and preserving the testimony of witnesses, which otherwise might be lost before the trial in which it is intended to be used. It is usually allowed where the witnesses are aged and infirm or are about to remove from the state. 3 Bl. Comm. 450.