How does the Banking-As-A-Service (Baas) work?

How does the Banking-As-A-Service (Baas) work?