As nouns,
bathing trunks is a hyponym of
bathing costume; that is, bathing trunks is a
word with a more specific, narrower meaning than
bathing costume:
bathing costume: tight fitting garment worn for swimming
bathing trunks: swimsuit worn by men while swimming