These two classes can be found in both marine and freshwater habitats, but centric diatoms are more likely found in the oceans while the pennate diatoms are predominately found in freshwater.