Principles of right and wrong behavior is called Moral.
The moral of a story is supposed to teach you how to be a better person. If moral is used as an adjective, it means good, or ethical. If you have a strong moral character, you are a good member of society. If someone is a cheat and a liar, you might say, one is not a moral person.
Hope it helps...