They are two sides of the same coin. You use adsense to put other people's ads on your web site. Then when someone clicks on one of the ads you get paid. When you want to advertise on other sites you use adwords where you set a price you are willing to pay whenever somebody clicks on your ad.