Help with peak detector circuit...

Thank you very much for your answer and time. I have a better understanding now.

So if the signal detector wire were disconnected this would be a simple comparator right?