I cannot wrap my head around 'making custom containers' Please help me understand it

Someone give me another example other than the one mosh gave.