Early in the book, Siddhartha joins the samanas.
What is a samana?
a Hindu ascetic who practices self-denial, such as fasting
someone who has achieved the final release from suffering and desire
someone who maintains all the rites and ceremonies of Hinduism
a person who is stuck between the worlds of desire and suffering