In my own word the two main function of a public protector is to investigate and give justice to the people.
Public protector makes sure that they give right protection to the rights of the people in their country and they also make sure to give fair justice.