QUICK ANSWER
"Mar" is a form of "mar", a noun which is often translated as "sea". "Océano" is a noun which is often translated as "ocean". Learn more about the difference between "mar" and "océano" below.
el mar, la mar(
mahr
)This means that the noun can be masculine or feminine, depending on the gender of the noun it refers to (e.g., el doctor, la doctora).
A masculine noun is used with masculine articles and adjectives (e.g., el hombre guapo, el sol amarillo).
2. (figurative) (abundance)
A phrase used as a figure of speech or a word that is symbolic in meaning; metaphorical (e.g., carrot, bean).
a. world (figurative)
A phrase used as a figure of speech or a word that is symbolic in meaning; metaphorical (e.g., carrot, bean).
Siempre ha habido un mar de diferencia entre nosotros.There's always been a world of difference between us.
b. wave (figurative)
A phrase used as a figure of speech or a word that is symbolic in meaning; metaphorical (e.g., carrot, bean).
Cuando entré en la cocina, me abofeteó un mar de olores deliciosos.When I went into the kitchen, I was hit by a wave of delicious smells.
el océano(
oh
-
seh
-
ah
-
noh
)A masculine noun is used with masculine articles and adjectives (e.g., el hombre guapo, el sol amarillo).
a. ocean
Nos hospedamos en un hotel con vistas al océano.We stayed at a hotel overlooking the ocean.