Each data item in a record may be a group…