There can be two purposes. The website headline banner is for branding where you present what your website is all about. Banner ads are used to advertise a product or a destination website which promotes something.
For commercial purposes such as Advertisements and to make the websites look better. Increase the look of the website.
Commercial banners you can sell to a company or use it with Google ad-sense.
for advertisement