  The Sun is the nearest astrophysical source with a very intense emission in
the X-ray band. The study of energetic events, such as solar flares, can help
us to understand the behaviour of the magnetic field of our star. There are in
the literature numerous studies published about polarization predictions, for a
wide range of solar flares models involving the emission from thermal and/or
non-thermal processes, but observations in the X-ray band have never been
exhaustive. The gas pixel detector (GPD) was designed to achieve X-ray
polarimetric measurements as well as X-ray images for far astrophysical
sources. Here we present the possibility to employ this instrument for the
observation of our Sun in the X-ray band.
