A data structure is a way of organizing, storing, and managing data in a computer so that it can be accessed and modified efficiently.