Level groups can be used to group sets of licenses. By giving each license in a group a different level, you allow users to upgrade from a license with a low level to a license with a higher level in that group.
When a license with a higher level is purchased, a discount is calculated based on the license previously purchased and the number of days that have been used on that license.