An Accessory Dwelling Unit is a secondary living space that is attached or detached from a primary residence. They are also sometimes called granny flats, in-law units, or secondary units.