Sulphur trioxide is dissolved in sulphuric acid and not in water because :
The gas is almost insoluble in water
The gas reacts with water vigorously
Being nonpolar, SO3 doesn’t dissolve in water which is a polar compound. Also the dissolution is exothermic on nature which causes fuming of water