Pearson is for product-moment correlation. which is a parametric measure of association for two variables. It measures both the strength and direction of a linear relationship.
Spearman is for rank-order correlation, which a nonparametric measure of association based on the ranks of the data values.