Stop in for a cup of coffee

Both are single light socket only.

Wire goes from the switch to the socket box, wire comes out socket box, goes to the next one and so on . Daisy chained you could call it
They must have 2 in and 2 out so you don't have to double conductors up on one screw.