Sony stopped making the PS3 in 2017.
Look to see if the PS3 is a 20GB PlayStation 3.These were available at launch only.
Here’s what to look for:
If you meet all of those criteria, it is backward compatible.

Lifewire
Look to see if the PS3 is a 60GB PlayStation 3.
These were also only available at launch.
They have Wi-Fi, a flash card reader, and four USB ports.

Evan-Amos / Wikimedia Commons
The face where you insert the disc is silver.
A few PS2 discs will not work on any PS3 model.
FAQ
Your best bet is likelyeBay.
Frustratingly yes and no.
The PS4 can’t read PS2 and PS3 discs, so you must download the games.
Because it’s a little more complicated, your best bet is to read over ourPS4 Backwards Compatibilityarticle.