# Can FFT be used to cluster sound waves based on their similarity?

I am new to this so apologies if the question appears trivial.

Say we have n sound files and we want to cluster them to identify which ones are more similar. I roughly remember that FFT can be used to decompose the sound and analyse the frequencies of the different components.

If two sound files have exactly the same frequencies, does this also mean that they have very similar sound patterns?

Or am I going down the wrong way?