Soaking beans helps eliminate gas-producing compounds. This can alleviate bloating and flatulence, common side effects of consuming beans. Lentils lack sulfur so there is no need to soak them before cooking.