Morality is a code of conduct that guides human behavior in terms of right and wrong, good and bad. It is a set of values…