A data structure (DS) is a particular way of storing and organizing data in a computer so that it can be used efficiently.