Counts the outside path only. It is a length, so the unit is plain.
Counts how many unit squares cover a flat surface. It is two-dimensional.
Counts how many unit cubes fill a 3D space. It needs length, width, and height.
Area tells you how many squares are in one flat layer. Volume asks how many layers of that same floor fit inside the box.
A box that is only one layer tall has volume too. Height tells how many layers there are.
You are putting ribbon around a poster. What do you need?
You are buying carpet for a room. What do you need?
You are filling a storage bin with blocks. What do you need?