Star Wars is based on magic, Star Trek is based on science.
In Star Wars the solution to many problems is to believe in yourself and use the Force. While believing in yourself is wonderful, using the force won’t get you very far in real life. On the other hand Star Trek focuses on science, logic, and diplomacy. The key to solving problems in the Star Trek universe is using your mind and science, things that you can apply to your real life.
There’s nothing wrong with Star Wars using magic, it makes for a wonderful story, but it’s not something that creates any meaning in the real world.
Here’s what Bill Nye had to say on the subject.
So one difference in the two franchises is magic, but there are more differences.
Next: 2 Star Trek impacts real science