Genetic material is the molecular basis of inheritance, encoding the information necessary for the development, function, and reproduction of living organisms. It primarily consists of DNA and RNA, which carry genetic instructions in the form of sequences of nucleotides.