all other organisms tend to increase their functionality/complexity , like secreting enzymes, developing protective coats around them, etc. But in case of viruses, they became more simpler and lost their functions rather than gaining new ones.
But regardless of complexity of operation, all lifeforms have the basic function to make more copies of themselves. Unless you can think of another reason why a mushroom pops up out of the ground.