candidate: Much of biochemistry deals with the structures , functions and interactions of biological macromolecules , such as proteins , nucleic acids , carbohydrates and lipids , which provide the structure of cells and perform many of the functions associated with life .