豆子 (dòuzi) is a noun meaning "beans" or "peas." It is the colloquial form of 豆 (dòu) with the common noun suffix 子. It can refer to various types of beans and legumes, such as soybeans, green beans, or red beans.
奶奶在院子里晒了一筐豆子。
Nǎinai zài yuànzi lǐ shài le yī kuāng dòuzi.
Grandma dried a basket of beans in the yard.
这些豆子泡一晚上就可以磨豆浆了。
Zhèxiē dòuzi pào yī wǎnshang jiù kěyǐ mó dòujiāng le.
Soak these beans overnight and you can grind them into soy milk.
市场上红豆子比绿豆子贵一点。
Shìchǎng shàng hóng dòuzi bǐ lǜ dòuzi guì yīdiǎn.
Red beans are a bit more expensive than green beans at the market.