it consists of a nitrogen base attached to a phosphate and sugar group