The Comparable interface in Java, located in the java.lang package, allows for user-defined objects to be sorted in a specific order. It includes a single method, compareTo(Object obj), which is used to compare two objects based on a specified data member. The method returns a negative value if the target object is less than the passed-in object, zero if they are equal, and a positive value if the target object is greater.