How to use "fits" in a sentence

Sentences

'But it all fits together,' Melchett said

I have one idea that fits nearly everything

Oh, yes, it all fits in - the letter, and the pills, and poor Mr Hawes' confession