Only its few early models could play PS2 games, with later models limiting its backward compatibility to PS1 games alone. The PS3 has a pretty sizable library of games. So it's natural for some ...
That being said, if you want to play some classic games on your PS5 ... The short answer is, no; the PS5 does not offer full backwards compatibility with PS1, PS2, and PS3 titles.