What is the difference between a portrait and a headshot?

The main difference between a headshot and a portrait is how the images will be used.
A headshot identifies the subject whereas a portrait tells the person viewing the portrait something more about the subject.
Headshots are taken for official use whereas portrait is used to tell a story.