A basis swap is a type of swap agreement in which two parties agree to swap variable interest rates based on different money market reference rates.