Freeware software is just small software which are free but their codes are not accessible.It can be downloaded ,used ,copied without restrictions.
Shareware software are just a demo version of the full software developed by small software company and the modification and other usability lies with the development group.Here end user dependencies is more.
Open source software are just software developed often by large vendors which are re distribuable ,used and modifiable with out any restrictions.Here codes of the software are fully accessed by the user for future modification and making of large software.