The int data type stores integer values. The double data type, on the other hand, stores floating-point values. Integers are whole numbers, while floating-point numbers include decimals.