In essence, PS is a picture processing software and AI is a vector drawing software. PS is mainly used for bitmap processing. The so-called bitmap means that a pixel grid will appear after being enlarged to a certain extent. Vector graph consists of paths and anchors, and the main factors that determine the size of the picture are the paths and anchors and all kinds of information contained in their graphic objects. The most striking feature of vector diagram is that no matter how many times it is enlarged, the edge of the picture is still clear and smooth.
In ordinary applications, AI is suitable for drawing vector graphics, such as mobile app, layout and icons of web design, while PS is more used for print advertisements and photo post-processing.
If you learn, PS is relatively basic, involving a wide range, and its functions will be more powerful than AI. Therefore, if you don't have any basic knowledge, it will be a bit difficult at first, but it will be simple after you are familiar with the operation, and then it will be easy to learn AI. And it's best not to learn AI first, it's a bit of a jump.