Ketamine is a medication mainly used for starting and maintaining anesthesia. Other uses include sedation in intensive care and treatment of chronic pain and depression.