What's the difference between SparkML and Spark MLlib?

User16826992666
Databricks Employee
Databricks Employee

I have heard people talk about SparkML but when reading documentation it talks about MLlib. I don't understand the difference, could anyone help me understand this?