Maharshi Valmiki was a robber before meeting saptrashis. his name was rathakar. he accepted his mistake and had a heavy tapasya. he got this name becouse deemak made their caves on his body. in sanatan dharma, there is two way of life, first sansarik life and the other is sanyas. sanyasi means a person who has no caste. he is a devotee to god.