What is a nucleic acid composed of?

Generally, a phosphate group, a deoxiribose sugar and a nitrogenous base.