What is the purpose of having a Political Party?
To simplify the "choice" for the voters by defining a memorable "Brand". (This works for small parties, also, who lack enough visibility to promote many individual members.)
A party probably starts as a well-intentioned AdHoc, to let people of like minds support each others' efforts.
Pages about US parties, chronologically: