Viruses are considered as something between living and non-living because they do not grow or reproduce by themselves.
This makes them non-living.
However, when a virus enters a living cell of an organism, it obtains energy from the host cell and starts reproducing. This makes them living, as reproduction is an important characteristic of living organisms.