Thank you for the opportunity to help you with your question!
It's through faring that the body can release build up gases within the intestinal digestive system. The common gases released include oxygen, carbon dioxide, methane and hydrogen sulfide. The gas responsible for the bad smell is hydrogen sulfide..................Please make your tutor, can help a lot! (Experienced but somehow new here)
Please let me know if you need any clarification. I'm always happy to answer your questions.