Oh boy it's got to be star wars!!! There's no contest here. Star Trek is great, but Star wars has it beaten in every way!!
Can you imagine what the world would be like today if the words "May the force be with you" were never spoken?? The very concept of the Jedi Knights battling the darkside is nothing short of genius. Don't even get me started on the concept of the light saber, a weapon able to cut through just about anything, I can't even begin to understand the physics behind how it works.
Then there's the fact that we get to see Luke Skywalker grow as a character and as a Jedi, shaping himself up to do battle with Darth Vader and the sith lord, only to find out that Darth Vader was actually his father, completely blowing everyones mind away!!!!!
It doesn't end there, like all great franchises, the show isn't complete unless we get to go back into the past and see the events that lead to the beginning of the entire franchise and we meet Luke's father, Anikin. We get to watch as he's corrupted by the darkside and eventually ends up becoming Darth Vader.
Let's not forget the new episodes with the resistance fighting not only for the sake of the galaxy, but for their very lives!!! The story is just beyond real!!! There's so much depth in it that they even have successful spin off stories like Solo and Rogue one. You can't pull of something like this if the franchise wasn't brilliant.
It's Star Wars for me any day and any time, sorry Spock.