Our understanding of solar magnetic fields is significantly more detailed than we can achieve for other stars. However, over the last few decades, techniques such as Zeeman Doppler Imaging (ZDI), have delivered major advances in the study of stellar magnetic fields, to the point where we can now map the global surface magnetic topology of other stars and use these to model the coronal magnetic fields and even the stellar wind produced by the star. These advances now allow us to compare the Sun with other solar-type stars and make increasingly detailed comparisons of the behaviour and generation of their dynamo magnetic fields. In this review I will give an overview of what ZDI has taught us about the magnetic fields of other stars and how our study of the Sun can inform our understanding of the dynamos operating across a range of solar-type stars.