There are many ways to obtain hemicellulose; all of these rely on extraction methods through hardwood or softwood trees milled into smaller samples. In hardwoods the main hemicellulose extract is glucuronoxlyan (acetylated xylans), while galactoglucomannan is found in softwoods. Prior to extraction the wood typically must be milled into wood chips of various sizes depending on the reactor used. Following this, a hot water extraction process, also known as autohydrolysis or hydrothermal treatment, is utilized with the addition of acids and bases to vastly change the yield size and properties. The main advantage to hot water extraction is that it offers a method where the only chemical that is needed is water, making this environmentally friendly and cheap.