A software can be patented only if it is strictly connected to a real device; for example a software that moves the mechanical arm of an industrial appliance can be patented. Instead an accounting software, booking.com, MS-Word and the various antiviruses, do NOT have any patents.