Polysaccharides are composed of shorter units called monosaccharides. When they are linked together, they form the polysaccharide. The “glue” that holds them together is glycosidic linkage. They may appear differently in different situations. Nucleic acids include both ribonucleic acids and deoxyribonucleic acid or otherwise known as RNA and DNA. They are monomers which is considered to be sugar.
The proteins are also biomolecules just like nucleic acids are and they are chained together to form the proteins which make of amino acids. All of these three things, polysaccharides, nucleic acids and proteins have many things in common like being made of monomers and associated with DNA as well as sugar in some sort. They are also related by dehydration reactions within them.