Noun A や noun B

や connects two nouns. It suggests that the things referred to are proposed as examples, and that an exhaustive list is not being cited.

A や B   A and B, for example

きょうとやならにいきました。

I went to Kyoto and Nara (for example and may have visited other places as well).