Shareware is a way to sell software.
The user will get a preview or demo of the software for free. This way, the user can decide if he or she likes the program or not before buying the complete program.