What is the role of BOUs and COUs?

What are billers and customers according to the definition of BOU and COU? When there are entities that can onboard billers and customers both, why do we have BOU and COU distinction? Can some examples be provided for a BOU and COU and how they operate differently?