Viruses are regarded as infectious because they can invade host cells and use their machinery to replicate themselves, which often leads to illness.