
Suppose you website sells products. Both anonymous user and registered user will be able to purchase products. And the registration process takes place in two ways.
Normal registration process.
When an anonymous user first time purchase a product, registration process will take place automatically.