Just some games. Sony calls it "cross play", and it's both weird and neat. Most games don't support it, but it's cool when they do.
I haven't tried it with the Vita, but I abused the Hell out of it with the PSP, mostly for PS classics. I read today that Tokyo Jungle now supports cross play on the Vita, which I'll try over the weekend.