Sentence:  He played basketball there while <WSD>working</WSD> toward a law degree . 
Meaning of the word marked with <WSD> tags:  exert oneself by doing mental or physical work for a purpose or out of necessity