Damage(int amount)
Heal(int amount)
GetMaxHealth()
It's used to allow read access to the maxHealth variable while still allowing read/write access in the inspector
The Unity Event System is used to control what happens after the health has been decreased and or has reached 0.
A visualization script is here that allows you to display the health using a unity slider ui component.