When people eat, they produce more gas due to the normal flora in the digestive tract. These gases move downward with the peristalsis of the intestine and are discharged from the anus. When it is discharged, due to the action of anal sphincter, noise sometimes occurs. Therefore, farting is a manifestation of the normal operation of the intestine. On the contrary, if you don't fart, or fart too much and stink, that's an abnormal phenomenon.
Eating more gas-producing foods such as sweet potatoes, onions, cabbage, beans and other soy products will often fart ~ ~
So farting is not necessarily related to losing weight.