Complex sentence: Both the presence of antigen or antibodies can be measured, for instance in the detection of infection, the presence of antibody against the pathogen is measured, and for measuring hormones such as insulin, the insulin acts as the antigen.
Split into simpler sentences: Both the presence of antigen or antibodies can be measured. For measuring hormones such as insulin, the insulin acts as the antigen.