The Facebook ad library is where you search for ads that run across Facebook apps and services. You can get information about any ad on Facebook.
The main reason for creating the Facebook ad library is to increase ad transparency. It helps prevent interference in elections, so the Ad Library also shows you additional information about these ads, such as who funded the ad.