The camp was part of a network set up by Nazi Germany during World War II to exterminate Jews and anyone else it considered undesirable .