Why is the ocean layered?

Why is the ocean layered?

Why is the ocean layered? Explain the PHYSICAL CAUSES of layering, and describe the major layers in the ocean. Feel free to include figures.