Why do political parties most often try to gerrymander voting districts?

Why do political parties most often try to gerrymander voting districts?to gain a political advantageto ensure an equal chance for all candidatesto prove they deserve the voters’ supportto keep each voting district the same shape?