Not every iPad will be able to run iPadOS 18. Luckily, most of the newer Apple tablets will.
https://www.digitaltrends.com/mobile/will-my-ipad-get-ipados-18-every-supported-model/
https://www.digitaltrends.com/mobile/will-my-ipad-get-ipados-18-every-supported-model/