Swap curve

Wanted to understand two basic queries on interest rate Swaps and swap curve.

  1. What risk are inbuilt in swap rate ?
  2. How is Swap curve affected by Treasury curve? - I know LIBOR is affected by short term treasury yield . But on the curve , across various maturities how does the Treasury affect swap rates ?

Thank you .