The funding rate helps the price of perpetuals track the index price of the underlying asset. If the perpetuals price trades above the price of the underlying asset then longs pay funding to shorts to incentivize a convergence of price (and vice versa).