A hook is a musical phrase that stands out and is easily remembered. Hooks are often repetitive and they usually grab our attention. They are often said to be what makes a song popular with listeners.
A riff is a series of notes, a chord pattern or a musical phrase that is repeated. Riffs may form the introduction to a song and are often repeated throughout.