The PS5 supports both 2.4 GHz and 5 GHz bands, and your router (assuming it supports both) chooses the best option, in theory. Gaming almost always benefits from using the 5 GHz band, but it covers a shorter range than the 2.4 GHz band and doesn’t penetrate walls as well, so in some situations, the 2.4 GHz band may be preferable.