What is the difference between an attached ADU and a detached ADU?

An attached ADU is a living unit that is either contained within the walls of the primary dwelling i.e. conversion of garage or bedroom, or is newly constructed and shares a common wall with the primary dwelling

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.