From his mother, Ramanujan absorbed tradition, mastered the doctrines of caste, learned the puranas. He learned to sing religious songs, to attend pujas, or devotions, at the temple, to eat the right foods and forswear the wrong ones—learned, in short, what he must do, and what he must never do, in order to be a good Brahmin boy.