In what ways can alleged vote fraud impact the credibility of the electoral process in a democracy?

Rahul Gandhi has asked the Karnataka government to investigate alleged vote fraud. I am curious about the broader implications of such allegations on public trust and the functioning of democracy.