It also affects the way in which one family relates to another, to the neighborhood, and to the community

What correction should be made to this sentence?

1. What is "It"?

2. The rest of the sentence would be smoother to rephrase like this:
It also affects the way in which a family relates to other families, the neighborhood, and the community.