Suppose there's a new person where you work. Within ten minutes of meeting her, you find you're laughing and joking and chatting. You're talking as if you're old friends by the end of the first day. You're always pleased to see her, and she's always pleased to see you.
In this situation, you have "great chemistry" with her.