Answer:
Bacteria are living organisms (They show characteristics of a living organism, they respire, move and reproduce), they can live inside or outside a body.
Viruses however, do not have a cell structure. They are not considered as living organisms. Viruses invade cells and uses the cell's machinery to make replicas of itself, in other words viruses can't live outside of a body