What is the purpose of a political party’s platform?

What is the purpose of a political party’s platform? to persuade voters that the party cares about them to state the goals of the party and its position on issues to attack the character of the opposing party’s candidates to advertise for corporations that support the political party