Gun can be used for Shot. Shot is related to Needle. Needle is related to Point. Point is related to Pin. 
Dress is a synonym of Costume. Costume is related to Theater. 
Gun --UsedFor--> Shot <--RelatedTo--> Needle <--RelatedTo--> Point <--RelatedTo--> Pin 
Dress <--Synonym--> Costume <--RelatedTo--> Theater 