A cofactor is a non-protein chemical compound or metallic ion that is required for a protein's biological activity to happen. These proteins are commonly enzymes, and cofactors can be considered "helper molecules" that assist in biochemical transformations.