The UV spectral range is a crucial window to investigate a large area of phenomena for the objects of the solar system from the surface to the atmosphere and magnetosphere. In this white paper, we describe how future UV observations with high spectral resolution and polarimetric capability will bring new information on those subjects