The Millennium Falcon is probably the most famous fictional space craft around, but it's a piece of shit. It's constantly called a hunk of junk in the series and the entire thing about its exploits is that it's surprising how it survives and gets the job done. It's pretty much an icon of Star Wars at this point, even more so than things like the X-wing. Trek starships tend to be entirely different kind of ships, much larger and generally not built for combat or running, but more like giant space hotels slowly drifting through space. But there is one Star Trek ship that stands up to the millennium falcon and is so much more badass in the context of their shows: The USS Defiant.
Everything about the Defiant is badass, down to the name. The name itself is a summary of what the entire ship was about. Fuck star fleet protocols, fuck playing fair, the defiant is a ship built for war that explicitly uses forbidden technology. In Star Trek, basically all the enemy vessels have the ability to cloak which renders them invisible. For various reasons, Star Fleet forbids using cloaking technology, and this becomes a real hindrance in multiple wars. The defiant explicitly was built in black ops to use this forbidden tech, it's the first Star Fleet ship that can cloak. And holy shit do they use that cloak to fuck. shit. up.
The Defiant is the MVP of the entire Dominion war. More than any other ship, it fought the battles. Before that, it fought the borg. Captain Worf once was going to use the Defiant to ram a borg cube, killing both the borg and worf at the same time, until the Enterprise-E intervened. The defiant flat out makes other species in Star Trek afraid. Where the Falcon is constantly shit on in the Star Wars universe, in Star Trek, the Defiant is deadly serious.
One of my favorite moments in the show is when Sisko starts to finally turn back the tide of the Dominion war, and give this little speech about how it's time they turn to their secret weapon. He walks out of the room and says loudly, "THE DEFIANT" in a triumphant moment. From that moment on, you know it's gonna be something special. Star Trek has tons, and tons of space ships. But realistically, outside of the Enterprise and maybe Titan (and I guess Cerritos thanks to Lower Decks), most people couldn't name another federation ship in Trek EXCEPT The Defiant. The Defiant is basically the only Trek warship in our universe/timeline. What a beast.
Best ship in both series. The Millennium Falcon is a piece of shit.