The past perfect continuous tense is used to describe an ongoing action that started and continued in the past before another action or event took place. It is formed by using "had been" followed by the present participle (-ing form) of the verb.
Example: - She had been studying for hours before she finally took a break.
In this example, the action of studying started in the past and continued for a period of time before she finally took a break.