The purpose of having competing political parties is to represent different opinions.
Political parties are fundamental institutions of democracy. By competing in elections parties offer citizens the opportunity to fulfil their right of choice in governance, and while in opposition they can hold governments accountable.
When citizens join political parties, volunteer their time, give money and vote for their leaders, they are exercising their basic democratic rights.