A data step is a set of instructions on how a data set is to be built. These instructions can be SAS statements, SAS functions and call routines.
The instructions are evaluated by the data step compiler. A data step starts with data and optional data set names.
The data step is used to perform data manipulation which is an important purpose of the data step is to provide a means of reading external data and creating data sets for later use in procedures or analytics.