Complex sentence: Its lyrics speak specifically on the Trinity, having been written for use on Trinity Sunday.
Split into simpler sentences: Its lyrics speak specifically on the Trinity. It was written specifically for the use on Trinity Sunday.