“That” functions as a determiner, demonstrative pronoun, relative pronoun, conjunction, and adverb.
When used as a relative pronoun or conjunction, “that” introduces dependent clauses (e.g., “He was grateful that I was able to pick him up early”).