In Java , betelnut grow in areas with an altitude of about 1,400 meters above sea level ( asl ) . In addition to the tree is commonly used for climbing competitions Pinang , this plant also has a fruit that turns widely used for treating various kinds of diseases . Substances contained in fruit betelnut include arecolidine , arecaidine , guvacoline , guracine , and several other compounds. Meanwhile , the seeds are also useful , contains alkaloids such as arekaina and arekolina that is addictive and can stimulate the brain . In traditional societies , fruit betelnut usually made ??one mix to eat betel . However , most people already use the fruit to treat dysentery , scurvy , and bloody diarrhea . Meanwhile, the Pinang seeds commonly used to treat intestinal worms , especially to treat tapeworms .