Sometimes, we have nested data stored in a field, instead of several lines to save space in a database. This is manageable for storage and record-by-record retrieval. However, for analysis, we need to split data into multiple records. For this purpose, we use the subfield() function.