Manu Smriti contains the code of Hindu law and the duties of the various varnas or castes. It also talks about the four Ashrams or the phases of a person's life. Accordingly, it suggests various tasks performed through these four phases namely Brahmacharya, Grihastha, Vanprastha, and Sanyasa.