act of consecrating an altar, temple, church, or other sacred building

Dedication can mean: the act of consecrating (making holy) a religious building such as a temple or church.

Dedication can also mean the writing at the beginning of a book or piece of music in which the author or composer says that it was written for a particular person. For example: a composer may write a piece of music for a particular musician and dedicate it to them. An author may dedicate a book to someone they love or respect. A book or a piece of music may be dedicated to the person who has paid them to write it. This may be a rich person such as king.