Data structures are the containers that store the data to use it efficiently. Primarily, R language has 4 data structures: Vector is a dynamically allocated data structure that acts as a container and stores the values with similar data types. Data values stored in a vector are known as components. A list can be considered as an R object that can store data values of multiple data types such as integers, strings, characters, or another list. The Matrix is a grid-like data structure that binds vectors of the same length. It is a 2-D data structure and all the elements within it must be of the same data type. A data frame is similar to a matrix except it is more generic. It can hold values with different data types such as integers, strings, and characters. It shows the combination of the characteristics of a list and a matrix.