How does Abel's sacrifice relate to the concept of the importance of living a life that is pleasing to God?

Abel's sacrifice and living a life that is pleasing to God