How are NBFCs different from banks?

Despite performing several similar functions, banks and NBFCs differ in a lot of ways.