Protection from potential harm from biological agents, such as infectious microbes or modified genes.