If you intended to write "comprtiment" but misspelled it, there are a few possible correct suggestions. The correct spelling is "compartment". So, be sure to double-check your spelling and use the correct form when referring to a specific section or division within something, such as a storage container or a train.