The extra nitrogen
Work Step by Step
We know that Benzene is relatively non-polar since it contains only hydrogen and carbon. However, the addition of the nitrogen in pyrdine makes the molecule far more polar. Since the poles in a polar molecule are attracted to opposite poles in other polar molecules, such as water, they dissolve well in polar substances. Thus, the extra nitrogen increases polarity, which explains increased solubility in water.