The main purposes of law include maintaining order, protecting individual rights and liberties, resolving disputes, and establishing standards for the behavior of individuals and organizations.