What makes sacred music sacred?

What makes music “sacred”? Must it be in Latin? Chanted? Accompanied by an organ? Can any music be sacred if it is intended for use in the liturgy? Pope St. Pius X had three criteria for sacred music: sanctity, goodness of form, and universality.