Answer:
D. To encourage party members to vote with party leaders.
Step-by-step explanation:
The task of a party whip is to make that the members of the party get behind the same proposal and they all vote the same. They must assure discipline within the party in the legislature. They must convince some of them to adopt the party´s ideology and attend the voting sessions.
I hope this answer helps you.