Mash beans into tomato sauce to use in baked ziti or a spaghetti squash pasta bake, or to top spaghetti as a replacement for ground beef. And since tofu is made from soybeans, you should know you can use it to replace ricotta in lasagna or stuffed shells.