Comparing sun signs can give a good general idea of compatibility. However, this is just a quick and easy way to compare, and it’s going to have lots of exceptions on this broad level. That’s because people are more than just their sun sign.
Other planets also affect someone’s personality. For that, we need to calculate other planet placement factors from their date of birth and compare them to your own, and then interpret the results to give more specific information.