과 after a consonant (빵과 우유) · 와 after a vowel (우유와 빵)
and (between nouns); with
Example
저는 빵과 우유를 샀어요.
I bought bread and milk.
Word parts
와 after a vowel (커피와), 과 after a consonant (빵과).
Good to know
와/과 is more formal or written; in conversation 하고 or (이)랑 are more common.