In the process of setting electoral districts, gerrymandering is a practice intended to establish a political advantage for a particular party or group by manipulating district boundaries.
An electoral district is a territorial subdivision for electing members to a legislative body.
Gerrymandering: Crash Course Government and Politics #37 by CrashCourse
The resulting district is known as a gerrymander ; however, that word can also refer to the process.
Gerrymandering Explained by CGP Grey
In addition to its use achieving desired electoral results for a particular party, gerrymandering may be used to help or hinder a particular demographic, such as a political, ethnic, racial, linguistic, religious, or class group, such as in U.S. federal voting district boundaries that produce a majority of constituents representative of African-American or other racial minorities, known as "majority-minority districts".
Demography is the statistical study of populations, especially human beings.