Gospel Principles manual lays out "the Lord's law of health."
Gospel Principles, The Church of Jesus Christ of Latter-day Saints, Chapter 29, accessed December 2, 2021
Because our bodies are important, our Father in Heaven wants us to take good care of them. He knows that we can be happier, better people if we are healthy. The Holy Ghost can be with us if our bodies and minds are clean. Our Father knows that we face temptations to treat our bodies unwisely or to take harmful things into them. For this reason He has told us which things are good for our health and which things are bad. Much of the information God has given us concerning good health is found in Doctrine and Covenants 89. This revelation is called the Word of Wisdom.