A sample of blood is drawn and analyzed to measure the levels of both ACTH (adrenocorticotropic hormone) and cortisol in the blood. This helps to detect diseases that are associated with too much or too little cortisol in the body.