Ren is the Chinese Confucian virtue relating to the protection of others. Li is the action that which society approves, and its counterpart, Yi, is the action that is correct. Sometimes, these two things can be the same action, and other times, they may not.
the foundational virtue of Confucianism both of them
Li is the outward expression of Confucian ideals, while ren is both the inward and outward expressions of those same ideals.
hope this helps :)