An election contest refers to a legal challenge questioning the validity or outcome of an election, often involving allegations of irregularities or misconduct. These contests can lead to investigations, recounts, or court proceedings to determine the rightful winner.