A tic tac is a sort of breath mint candy, so Jim Carrey was politely mocking the officer's bad breath by offering him a tic tac.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Tic Tac is a brand of breath mint.
The joke here is that Lloyd has been urinating into beer bottles, because they cannot stop driving. The police officer thinks they have been drinking beer. He grabs the bottle and drinks it because he thinks it is beer. Of course, he has a terrible reaction from drinking someone's urine. Lloyd belatedly offers him a breath mint to help him.