That you spent some time in a certain city is amazing.
You spent some time in a certain city, and that's amazing.
What you did in that city is amazing.
(?) You did in that city, and that's amazing.
We removed 'that', and it didn't affect the meaning of the sentence. We removed 'what', and the meaning was destroyed.