Data collected by the investigator himself/herself for a specific person is called as primary data. For example, data collected by a student for his/her research project.
Secondary data :
Data collected by someone else for some other purpose but being utilized by the investigator for another purpose is called secondary data.