It is used in the perfect tenses (present perfect, past perfect, and future perfect).
Examples:
* Present perfect: The garbage has stunk all day.
* Past perfect: The room had stunk before we even entered.
* Future perfect: The milk will have stunk by the time we get back.