1)A kernel is a computer program which helps to built communication between the user application and hardware. It basically manages operations of memory and CPU time. Kernel loads first into memory when an operating system is loaded and remains into memory until operating system is shut down again. It is responsible for various tasks such as disk management, task management, and memory management.
2) Linux is a kernel. The Linux kernel was created by Linus Torvalds in 1991 and serves as the core component of the Linux operating system. However, when people refer to "Linux" in common usage, they often mean a complete operating system distribution that includes the Linux kernel along with various software applications, utilities, and tools. So, while Linux is technically a kernel, it is often referred to as an operating system for practical purposes.
3)No operating system, including Linux, can say it is completely safe from malware. While Linux is generally considered to be more secure than some other operating systems, it can still be attacked by malware. The security of an operating system depends on how it's built, used, and managed.
Linux is thought to be secure because it is open-source. This means many people review its code, find and fix security issues quickly. Linux also has features that make it harder for malware to cause damage, like a good permission system and different user privileges. These things help protect the system from attacks.
But even with these security measures, Linux can still be at risk. Hackers can take advantage of weaknesses in software, trick people into running harmful programs, or use social tricks to get access to the system. That's why it's important to keep Linux up to date, use trusted sources for software, be careful when browsing, and follow good practices for system administration.
So, while Linux is generally seen as a secure choice, it's not immune to malware. It's important to stay alert and take steps to keep your Linux system safe.