Law consists of structured rules established by authorities, like the government, and these rules are upheld through legal processes such as courts. It acts as an external, formalized system designed to regulate behavior within a society, providing a clear framework for acceptable conduct.
On the other hand, morality is an internal compass, reflecting an individual's personal sense of right and wrong. Shaped by values and beliefs, morality lacks the formal codification found in law. It is subjective, operating on a more personal level, influencing behavior based on internal principles rather than external regulations.