An amylase test is used to measure the amylase enzyme in the blood or urine. This enzyme is produced by the pancreas and salivary glands in the human body. It is responsible for crucial bodily functions such as breaking down carbohydrates and helping with food digestion.