meaning of "bacon smells a bit funny"

This bacon smells a bit funny - do you think it’s gone off?

I wonder what the word in bold means in this sentence. I know “funny = a slight ill” but then I wonder how bacon (which is a meal) can be a ill.

Please help me.

Hi

and

Tom