going to a concertこと turns the phrase コンサートに行く into a noun phrase, meaning the act or fact of going to a concert. It can be followed by particles such as に, が, で, を, or に賛成する.
JA: 週末にコンサートに行くことを楽しみにしています。
EN: I'm looking forward to going to a concert this weekend.