Fetching details from the dictionary...
going and worshipping (at a shrine or temple); visit (to a shrine or temple to worship)
毎月神社に参拝している。
I visit the shrine every month to pray.
参拝の作法を学んだ。
I learned the manners of shrine worship.
有名な神社に参拝に行った。
I went to worship at a famous shrine.