"Mer" means "sea" and "océan" "ocean". It's the same nuance in French and English, I believe, "une mer" being generally not as big and open as "un océan" (there are only 4 or 5 oceans on earth), but "la mer" can be used as a broad term, at a smaller scale.