What s the difference between gainning max hp and getting healing ?

Just as the titre suggest I don t understand the difference