A chemical test is used to measure:

Blood alcohol content (BAC) is normally determined by a chemical test of breath, blood, urine, or saliva. However, a chemical test is not necessary to prove that you were intoxicated or impaired. The testimony of a police officer about how you were driving, or your appearance and behavior when arrested, can provide enough evidence to convict you, even without a chemical test.
DMV Writen Test