The PS Vita integrates with PlayStation consoles in four ways—each with caveats.
Vita + PS4 is a fantastic portable companion if you own cross-buy/cross-save titles. For PS5, Vita is effectively a legacy device—consider PS Portal or Remote Play on phone/PC instead.