To enhance security, Gmail prohibits attachments with specific file extensions. Executable files, identified by extensions such as “.exe”, are frequently blocked due to their potential to carry malicious software or viruses. This measure ensures user safety, while common file types like images (e.g., .jpg) and documents (e.g., .doc) remain permitted.