参拝

さんぱい going and worshipping (at a shrine or temple); visit (to a shrine or temple to worship)

Why it means this

参 (go and attend) + 拝 (worship, bow) — going to a shrine or temple and paying one's respects.

Breakdown

Each character links to its full entry — origin story, stroke order, and readings.