In Israeli kibbutzim, parents and children live communally,…

In Israeli kibbutzim, parents and children live communally, and labor is shared communally. In the lectures, it was said that in this situation, two functions were being performed by an institution other than the family. What are the two functions in question?