What is the meaning of the word "consecration"?

Definitions:

  1. (religion) sanctification of something by setting it apart (usually with religious rites) as dedicated to God copy to clipboard noun
    • the Cardinal attended the consecration of the church copy to clipboard
  2. a solemn commitment of your life or your time to some cherished purpose, especially to a service or a goal copy to clipboard noun
    • Their consecration to study was noteworthy. copy to clipboard