I think they are used differently in US and BE. So for the BE version Closet is not used. Cupboard is a built in storage area with a door - for example kitchen cupboards hold all your cooking stuff and food, office cupboards hold envelopes and things, kids have toy cupboards and so on.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.