Any kind of software which is distributed free of charge along with advertisements that are either placed on the website from which the software is distributed or displayed by the program while it is running.

Nagware might be considered a special case of adware where the program tries to persuade the user to buy a license for the program itself.