Hit Dice is not exactly the same as in AD&D. It is a resource you can use to heal during short rest. You have as much as your level. When have a long you rest, you regain half of them.
For example you are a 4th level cleric with 14 Constitution (+2 modifier) and 28 maximum Hit Points. As a 4th...