© Colloquium
In this talk I will review some recent works on the magnetic activity of Sun-like stars, their winds and potential impact on surrounding exoplanets. Stellar magnetic fields drive space weather on (exo)planets, being responsible for the ejection of stellar winds and bursty events, such as flares and coronal mass ejections. The dramatic differences in the Physical properties of the host stars compared to the properties of our Sun, in addition to the extreme architecture of most of the known exoplanetary systems, can give rise to physical interactions that might not even be recognised in the solar system. These interactions can generate observable signatures, thus providing other avenues for characterising exoplanetary systems, which would otherwise remain unknown.