It is now known that gas is moved along the gut independently of solids and liquids, and this transit is more efficient in the erect position compared to when supine. It is thought that large volumes of intestinal gas present low resistance, and can be propelled by subtle changes in gut tone, capacitance and proximal contraction and distal relaxation. This process is thought not to affect solid and liquid intra-lumenal contents.Researchers investigating the role of sensory nerve endings in the anal canal did not find them to be essential for retaining fluids in the anus, and instead speculate that their role may be to distinguish between flatus and faeces, thereby helping detect a need to defecate or to signal the end of defecation.The sound varies depending on the tightness of the sphincter muscle and velocity of the gas being propelled, as well as other factors, such as water and body fat. The auditory pitch (sound) of the flatulence outburst can also be affected by the anal embouchure. Among humans, flatulence occasionally happens accidentally, such as incidentally to coughing or sneezing or during orgasm; on other occasions, flatulence can be voluntarily elicited by tensing the rectum or "bearing down" on stomach or bowel muscles and subsequently relaxing the anal sphincter, resulting in the expulsion of flatus. Management
Since problems involving intestinal gas present as different (but sometimes combined) complaints, the management is cause-related.
Methane and hydrogen are flammable, and so flatus can be ignited if it contains adequate amounts of these components.Not all humans produce flatus that contains methane. For example, in one study of the faeces of nine adults, only five of the samples contained archaea capable of producing methane. The prevalence of methane over hydrogen in human flatus may correlate with obesity, constipation and irritable bowel syndrome, as archaea that oxidise hydrogen into methane promote the metabolisms ability to absorb fatty acids from food.The remaining trace (<1% volume) compounds contribute to the odor of flatus. Historically, compounds such as indole, skatole, ammonia and short chain fatty acids were thought to cause the odor of flatus. More recent evidence proves that the major contribution to the odor of flatus comes from a combination of volatile sulfur compounds. Hydrogen sulfide, methyl mercaptan (also known as methanethiol), dimethyl sulfide, dimethyl disulfide and dimethyl trisulfide are present in flatus. The benzopyrrole volatiles indole and skatole have an odor of mothballs,  and therefore probably do not contribute greatly to the characteristic odor of flatus. In one study, hydrogen sulfide concentration was shown to correlate convincingly with perceived bad odor of flatus, followed by methyl mercaptan and dimethyl sulfide. This is supported by the fact that hydrogen sulfide may be the most abundant volatile sulfur compound present. These results were generated from subjects who were eating a diet high in pinto beans to stimulate flatus production.