During program installations, there are dependent system components that are also installed, that may be spread in various places throughout the computer. Thus, to safely uninstall them, you would use

$ sudo [command] autoremove program_name

One area where this is critical is removing the old kernel (after testing the system!), because the old kernel keeps a complete previous back-up, using valuable system memory in /boot.