Roman mythology inherited Greek mythology.
First of all, the two peoples are almost brothers. Secondly, Roman culture was first influenced by Etruscan culture, and Etruscan culture was influenced by Greece. After that, Rome inherited Greece directly. Although Rome conquered Greece, Greek culture conquered Rome in turn, and slave teachers from Greece can often be found in wealthy Roman families. And Roman youth always go to Greece to study. Cicero, a famous Roman politician, literature and orator, sent his son to Greece. Now there is a book about obligation handed down from generation to generation, which was written for his son in Greece.
2. Difference
On the surface, the content is the same, but the myth in a broad sense is not only literature, but also a religious belief and culture.
Roman mythology is almost a continuation of legal rights. All kinds of gods are arranged by people to perform their duties, and the fundamental reason is to control people through superstition. This reflects the pragmatism of the Romans. If you have read Gibbon's History of the Decline and Fall of the Roman Empire, you will certainly remember Gibbon's words: all superstitions circulating in the Roman world are believed by the people, dismissed as false by philosophers and regarded as useful by Roman officials. Hehe, what does "useful" mean? It just means it can be used as a tool.
But Greek mythology is really a cultural carrier, which contains many philosophical and speculative things. This is not difficult for you to understand as long as you read more academic papers.