Step 1: Understanding the Concept
Sugars are named by the number of monosaccharide units released on hydrolysis: mono, di, tri, tetra and so on.
Step 2: Stachyose
Stachyose is an oligosaccharide found in beans and other legumes.
On hydrolysis it gives two galactose, one glucose and one fructose unit, which makes four units.
Step 3: Conclusion
A sugar with four units is a tetrasaccharide.
Final Answer:
Stachyose is a tetrasaccharide, option (D).
\[ \boxed{\text{(D) }\text{tetrasaccharide}} \]