Cornstarch is mixed with water and processed to create a starchy substance that undergoes a transformation, resulting in the production of dextrin.