Does the word "church" mean the same thing in "This building used to be a church before being converted into a library." and "There is a lovely little church in the valley."?
the same meaning