Based on legends, tofu originated either in Japan or China. And it is believed to have been discovered accidentally by a Chinese cook. Interestingly, the story goes that the Chinese cook discovered tofu more than 2,000 years ago by accidentally mixing a batch of fresh soy milk with nigari (what remains when salt is extracted from seawater).
Tofu is made of condensed soy milk that is pressed into solid white blocks in a process similar to cheesemaking. It is a very flexible ingredient. In fact, firm tofu can even replace hamburgers in vegetarian burger options, but with much lower fat and cholesterol content.