The BIN function divides numeric values into a set of disjoint intervals called bins. The BIN function indicates which elements are contained in each bin.