Once, when the Buddha was staying in the Migārāmatupāsāda, a certain monk asked him a series of questions regarding the five aggregates of attachment (upādānakkhandhā), their origin and nature, their definitions, the cause of their arising, etc.
The Buddha answered his questions.
At the end of the sutta is an explanation of self (atta). S.iii.100 ff.