Confucianism is a way of life taught by Confucius in China in the 6th-5th century BCE. Sometimes viewed as a philosophy, sometimes as a religion, Confucianism is perhaps best understood as an all-encompassing humanism that is compatible with other forms of religion.