DEBIT SPREAD VS CREDIT SPREAD

What is the difference between a debit spread and a credit spread?

 

Debit Spread vs Credit Spread

What is the difference? What is implied volatility always? Everything explained here.