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