2024 has been dubbed the year of elections—and for good reason.