Difference between REST search endpoints

I am trying to understand the difference between two Confluence REST endponits. /wiki/rest/api/content/search and /wiki/rest/api/search.

For similar search I get lower number of results with the first endpoint. But I am not too familiar with the data being returned nor with Confluence to comprehend the difference.

Can someone explain me in plain terms why I should use one endpoint over another?