Complex sentence: Garlic is known for causing bad breath (halitosis), as well as causing sweat to have a pungent "garlicky" smell, which is caused by allyl methyl sulfide (AMS).
Split into simpler sentences: Garlic is known to cause bad breath (halitosis) and body odor described as a pungent "garlicky" smell to sweat. This is caused by allyl methyl sulfide (AMS).