The evaluation of biomaterials for toxicity involves a combination of in vitro and in vivo tests. In vitro tests include cell viability assays, which measure the cytotoxicity of materials using cultured cells. In vivo tests involve implanting the material into animals to observe any adverse biological response. Regulatory guidelines often dictate these tests to ensure comprehensive safety evaluations.