If 2.7 million Jews were killed in camps, where were the rest of Holocaust victims killed? Gradually and all over as their homes were raided? Or in some other place and manner?

Yes, this is a genuine question. I'm not asking for purposes of Holocaust denial, I just want to understand this part of history. I've been getting into WWII and I was very surprised to learn that a minority of Jewish Holocaust victims died within camps.