Which three circumstances are named as causes of obligatory ghusl?

Causes of Legal Obligations: Time, Worship and Purification