Complex sentence: A virtual pet is an imaginary pet that, as in the real world, needs to be cared for, usually on the Internet or in a computer game.
Split into simpler sentences: A virtual pet is an imaginary pet that, as in the real world, needs to be cared for. Such pets are usually on the Internet or in a computer game.