You asked:

is millimeter smaller than centimeter

Yes. Mm is shorter than centimeter.
millimeter

centimeter