iPad identifies (when using Safari) as running macOS 10.15.7 Catalina on Apple desktop Platform.
When I retrieve the information using Chrome on the same iPad, I receive os is iOS 17.5 and the platform is Apple tablet, which is almosr correct. To be 100% correct, it would be iPadOS 17.5.1, but that's a cosmetic thing.
On an iPhone, Safari shows the correct results (iOS 17.5.1).