How does cathodic protection work?

Can you answer this question?