Detection system for detecting matter and distinguishing specific matter from other matter