Legumes in Chinese cuisine are mostly used to make soy milk and tofu and as a sweet ingredient (e.g. red bean paste), though green peas, snow peas and green beans are enjoyed in all sorts of savory contexts. You will also find creative recipes that season legumes with Chinese flavor, such as this Chinese style lentil soup.