Description:This book presents the lecture notes of the 34th Saas-Fee Advanced Course "The Sun, Solar Analogs and the Climate" given by leading scientists in the field. Emphasis is on the observed variability of the Sun and the present understanding of the variability’s origin as well as its impact on the Earth's climate. The solar variability is then studied in the broader context of solar-type stars, allowing for better understanding of the solar-activity cycle and the magnetic activity in general. This book provides an accessible and up-to-date introduction to the field for graduate students and serves as a modern source of reference for active researchers in this field.