Detrending is the operation of removing the trend from a time-series data.
A common method is to fit a polynomial line to the data, and then subtract it from the data. The idea is that the polynomial line will encode the trend, and by subtracting it to the original data we are effectively removing the trend.