Attachment is a word with multiple meanings depending on the context:
1. In emails: a file that is sent along with the email message
2. In psychology: the emotional bond between people
3. In law: the seizure of property by legal process
4. In machinery: an accessory or additional part
5. In general: a feeling of affection for someone or something