Have Been vs. Has Been vs. Had Been: How to Use Each One Correctly

The present perfect tense identifies an action or a state that took place at an unspecified time in the past. The present perfect progressive expresses an ongoing activity that started in the past and continues into the present.

Examples

I have been to that city. (present perfect)

It has been drifting through my mind lately. (present perfect progressive)

Source: Have Been vs. Has Been vs. Had Been: How to Use Each One Correctly – The Blue Book of Grammar and Punctuation