The study of the structure and function of large molecules associated with living organisms, particularly proteins and the nucleic acids DNA and RNA.