Synergies between solar and stellar modelling