An attachment is a file uploaded to a WordPress post or page using the ‘Add Media’ feature from the post edit screen.
Attachment can be an image, video, gif, pdf or any supporting documents uploaded into any posts or pages.
Aread: Complete WordPress Glossary