Mormons believe that the earth is rules by 3 gods united in “one purpose.” (Whatever that means.)
Elohim is the first and main god of Mormonism, he is the one that they pray to. Mormons believe Elohim is an exalted alien from his own planet with his own god. They believe he lives on or near a planet/star named “Kolob.” He is the primary god of earth in Mormonism, and according to Mormons, he is everyone’s “Heavenly Father” who had us with his goddess wife in heaven where we all existed a pre-incarnate angels before he sent us to earth to become humans so that one day, we too might be exalted as gods and get our own planet, just as Elohim and his goddess wife were.
The second god for them in Jehovah, who became Jesus. For them, Jehovah is nothing more than the secondary god for earth, he is below Elohim and the first born child of Elohim, making him our eldest brother. Mormons believe Elohim created earth through Jehovah and the pre-incarnate Michael. As Christians, we believe “Jehovah” - who’s actual name is Yahweh, and who we deem as “LORD” in our translations - is the one true God of the universe, and we believe he exist as a Trinity. But for Mormons, he is nothing more than a pagan god in the universe and very limited in power.
The third god in Mormonism is the Holy Spirit, but don’t let the name fool you, he is nothing like the Christian Holy Spirit. Unlike Elohim and Jehovah/Jesus in Mormonism, the Holy Spirit only has a spirit body right now, but some Mormons teach he will one day become human too and receive a physical body just like Elohim and Jehovah. The exact origins of the Holy Spirit in Mormonism are unknown, but a lot of Mormons seem to believe he is just another child of Elohim and his goddess wife.
These are the gods of Mormonism. Mormons actually believe an infinite amount of gods exist in the universe, but that we are only to worship the 3 gods of the earth. They also believe in the “Heavenly Mother”, she is the goddess wife of Elohim, and our mother. But they do not worship her, but instead reserve worship for Elohim.