An election contest refers to a legal challenge questioning the validity or outcome of an election, often involving allegations of irregularities, fraud, or errors in the voting process. These contests can lead to recounts, investigations, or court proceedings to ensure the integrity of the electoral process.