To distinguish between insulin that is produced by the body and insulin that is injected into the body, C-peptide is tested. To determine whether a person has type 1 or type 2 diabetes and whether their body is still manufacturing insulin, the C-peptide level may be checked.