What is the Relationship Between Freemasonry and the Temple Endowment?

Divine revelation and Joseph Smith’s participation in Freemasonry are complementary explanations for the origins of temple ordinances.