What part of a source should you summarize?

I think it would be safe to put 'just the sections that are related to your research question'. This is because a summary must be comprehensive because the creation of the author's thesis or key concept is unlikely without it.
Does anyone else have any thoughts on this?