Comparable vs Comparator Interface in Java

Let’s learn about the comparable and comparator interface in java and when should we use them