It's up to you. But it's mostly a precaution incase it gets wet, humidity, bug infestations. It can prevent mold, stains, absorbing smells, remove the MDF smell. I hate the smell of MDF and it's not even healthy.
But it can also be just to make the inside look nice as well.