Answer:
(B).Some groups began working to restore gingerbread home.
near the river= to plant easily
a cave= to have a better shelter
The answer is B. the others have nothing to do with the main sentence.
Religion gives people something to believe in, provides a sense of structure and typically offers a group of people to connect with over similar beliefs.