There is a story of a naga who appeared in human form so that he could become a Buddhist monk. The Buddha told him that only humans were allowed to become monks. The naga took the five precepts so that he could be reborn as a human in a future life.