You asked:

is millimeter smaller than centimeter

Yes, mm is shorter than centimeter.
millimetre
millimetre
millimetre

centimeter
centimeter
centimeter