Garages keep your car(s) safe and give a place to put them. They only come with certain houses, and get bigger as you get the better houses.
Currently, Taylorian+ have a garage. Other houses do not have a garage.
Apartments do NOT have garages.
Currently, Modern Bungalow+ has a garage that closes, and opens.