Sentence:  For the family is the simplest example of just such a unit , composed of people , which gives us both some immunity from , and a <WSD>way</WSD> of dealing with , other people . 
Meaning of the word marked with <WSD> tags:  how a result is obtained or an end is achieved