Zadok the Priest

When a new king or a queen is crowned in Britain the choir sings ‘Zadok the Priest.’ Why? And what does that have to do with you?