A virus infecting bacteria, with a nucleic-acid genome within a protein capsid. Familiar head-and-tail shapes are not universal. Virulent phages follow a lytic cycle; temperate phages may establish lysogeny, often as an integrated prophage, before productive infection. Not every phage undergoes lysogeny.