How do the two types of nucleic acids differ from

How do the two types of nucleic acids differ from one another in (a) composition, (b) size, and (c) function?