The doctrine states that Jesus Christ performed three functions (or "offices '') in his earthly ministry - those of prophet (Deuteronomy 18: 14 - 22), priest (Psalm 110: 1 - 4), and king (Psalm 2)
the book that describes how christ fulfills the function of a priest is
Psalm 110