I probably need more context. What's 'it'? Otherwise, synagogue and temple would probably be used just as we use church in ' I've been to church ' or ' You cannot replace church with private prayer ', where church is an uncountable conceptual experience.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.