Explain how viruses can affect Bacteria and Archaea in nature

Explain how viruses can affect Bacteria and Archaea in nature in both positive and negative ways.