What is the primary goal of political parties?

A) to encourage conservative values
B) to get their candidates elected
C) to promote liberal values
D) to help the poor