Chemical analysis measures the chemical substance concentration inside the human body to provide information for diagnosis and therapy. Usually the chemical concentration inside the body is estimated by analyzing a sampled material such as blood, urine, or cerebrospinal fluid, as well as other fluids. However, continuous monitoring in vivo is required in some circumstances, such as gas monitoring during anesthesia, long-term glucose monitoring for diabetes and rapidly changing chemical concentrations.