I'm starting work on writing my Master thesis in computer science (after doing a lot of experimentation last semester.) I want to give some background on neural networks relevant to my work. By reading various papers I have found there are several foundational papers (say paper A) in the field that I would like to cite and include. I understand that I should read and cite the primary source regardless of where I found it. However, some of the papers (say paper B) that reference it give background/context on the paper (and even authors) I would also like to include. Should I cite paper B for points like the relevance of the paper, the backgrounds of the authors, and comparison to future work / other papers?