The election pits the left-of-center veteran politician Lula against Bolsonaro, an ally of U.S. President Donald Trump and the son of imprisoned former President Jair Bolsonaro.