Political parties are created because they perform an important task in the government. They bring people together to achieve a goal of the government, develop policies favorable to their interests, and help organize and persuade voters to elect their candidates.
Hope this helps! ;)