Quant- Seasonality and Time Series

In all the time series models, one of the assumption is that we shouldn’t have seasonality or any trends in the data. I am a bit confused about it. Why do we remove the effect of seasonality if the whole idea of time series is to find prediction in order to forecast future event?