The medication is a tranquilizer often used for multiple reasons . Historically , it served as a treatment for sleeplessness, but now , its main functions involve assisted death in veterinary patients and, rarely , as an anesthetic agent in certain creature operations . This important to remembe