vs
QUICK ANSWER
"Habitación" is a noun which is often translated as "room", and "cuarto" is an adjective which is often translated as "fourth". Learn more about the difference between "habitación" and "cuarto" below.
la habitación()
A feminine noun is almost always used with feminine articles and adjectives (e.g., la mujer bonita, la luna llena).
cuarto, el cuarto()
An adjective is a word that describes a noun (e.g., the big dog).
A masculine noun is used with masculine articles and adjectives (e.g., el hombre guapo, el sol amarillo).