The purpose of the altar
Is to thank the Lord on high
And, through sacrifice, offer
A faithful effort to try
1 Nephi 2: And it came to pass that he built an altar of stones, and made an offering unto the Lord, and gave thanks unto the Lord our God.
https://www.lds.org/media-library/images/adam-eve-angel-rane-1339141?lang=eng image source