DXC Technology interview question

When you'll use list vs dictionary?