If I’m not mistaken, I believe the Marine Corps is a specific department of the Navy, and are typically the first on the ground for special operations and are stationed at a lot of the U.S. embassies. The Navy as a whole is more focused on the sea and shorelines, and the Marines cover land and sea.
I don’t know much more than that, I’m not a huge military person haha