Stop in for a cup of coffee

I thought beans made you fart? I am so confused now!