Comparisons between the Sun and a red supergiant