Pca applications

Hello, I would like to know if PCA applications are only to reduce features to be able to visualize the data or are they also used to reduce features and then train AI models.

Both.

In summary, to reduce dimensions.