The prophecies given to Daniel describe events which are to happen from the time of Daniel to the establishment of the kingdom of God.
Daniel 2:37 Thou, O king, art a king of kings: for the God of heaven hath given thee a kingdom, power, and strength, and glory. 38 And wheresoever the children of men dwell, the beasts of the field and the fowls of the heaven hath he given into thine hand, and hath made thee ruler over them all. Thou art this head of gold. 39 And after thee shall arise another kingdom inferior to thee, and another third kingdom of brass, which shall bear rule over all the earth. 40 And the fourth kingdom shall be strong as iron: forasmuch as iron breaketh in pieces and subdueth all things: and as iron that breaketh all these, shall it break in pieces and bruise. 41 And whereas thou sawest the feet and toes, part of potters’ clay, and part of iron, the kingdom shall be divided; but there shall be in it of the strength of the iron, forasmuch as thou sawest the iron mixed with miry clay. 42 And as the toes of the feet were part of iron, and part of clay, so the kingdom shall be partly strong, and partly broken. 43 And whereas thou sawest iron mixed with miry clay, they shall mingle themselves with the seed of men: but they shall not cleave one to another, even as iron is not mixed with clay. 44 And in the days of these kings shall the God of heaven set up a kingdom, which shall never be destroyed: and the kingdom shall not be left to other people, but it shall break in pieces and consume all these kingdoms, and it shall stand for ever. 45 Forasmuch as thou sawest that the stone was cut out of the mountain without hands, and that it brake in pieces the iron, the brass, the clay, the silver, and the gold; the great God hath made known to the king what shall come to pass hereafter: and the dream is certain, and the interpretation thereof sure.
The ten kingdoms at the time of the establishment of the kingdom of God, represented by the symbol of the ten toes of the image in Daniel 2, are represented by ten horns in Daniel 7.
Daniel 7:7 After this I saw in the night visions, and behold a fourth beast, dreadful and terrible, and strong exceedingly; and it had great iron teeth: it devoured and brake in pieces, and stamped the residue with the feet of it: and it was diverse from all the beasts that were before it; and it had ten horns. 8 I considered the horns, and, behold, there came up among them another little horn, before whom there were three of the first horns plucked up by the roots: and, behold, in this horn were eyes like the eyes of man, and a mouth speaking great things. 9 I beheld till the thrones were cast down, and the Ancient of days did sit, whose garment was white as snow, and the hair of his head like the pure wool: his throne was like the fiery flame, and his wheels as burning fire. 10 A fiery stream issued and came forth from before him: thousand thousands ministered unto him, and ten thousand times ten thousand stood before him: the judgment was set, and the books were opened. 11 I beheld then because of the voice of the great words which the horn spake: I beheld even till the beast was slain, and his body destroyed, and given to the burning flame. 12 As concerning the rest of the beasts, they had their dominion taken away: yet their lives were prolonged for a season and time. 13 I saw in the night visions, and, behold, one like the Son of man came with the clouds of heaven, and came to the Ancient of days, and they brought him near before him. 14 And there was given him dominion, and glory, and a kingdom, that all people, nations, and languages, should serve him: his dominion is an everlasting dominion, which shall not pass away, and his kingdom that which shall not be destroyed.
The prophecies given to John in Revelation describe events which are to happen from the time of John to the establishment of the kingdom of God.
The prophecies of Daniel and Revelation are connected by the ten horns of the beast.
Revelation 13:1 And I stood upon the sand of the sea, and saw a beast rise up out of the sea, having seven heads and ten horns, and upon his horns ten crowns, and upon his heads the name of blasphemy.
The ten horns are said to represent ten kingdoms at the time of the establishment of the kingdom of God.
Revelation 17:12 And the ten horns which thou sawest are ten kings, which have received no kingdom as yet; but receive power as kings one hour with the beast. 13 These have one mind, and shall give their power and strength unto the beast. 14 These shall make war with the Lamb, and the Lamb shall overcome them: for he is Lord of lords, and King of kings: and they that are with him are called, and chosen, and faithful.
From this we can see that Revelation is a continuation of the prophecies in Daniel giving more detail of the things which must happen before Christ returns to rule this world in righteousness.
The fourth beast of Daniel and the beast from the sea in Revelation are generally understood to represent the Roman Empire. The ten horns represent the independent kingdoms of Europe that arose out of the Empire. The European Union is probably an interim arrangement until the kingdoms voluntarily come together under the leadership of one nation. This will happen close to the return of Christ.
There is a lot more that could be said, but hopefully this is sufficient to show that Daniel and Revelation are connected.
I hope you have found this helpful.
God bless you,