The purpose of a post and core restoration is to

retain the crown.

prevent root discolouration.

reinforce the remaining tooth structure.

seal the root canal treatment.