What are the purpose of legal rights in Canada?

To ensure that people are not deprived of life, liberty, or security of person