Under data protection law, the controller decides why and how personal data is processed (usually the customer); the processor handles it on the controller's behalf (usually the SaaS vendor).