To give off a smell; to smell of something (can be pleasant or unpleasant). Also used figuratively to mean 'seems like' or 'there's a hint of...'.
部屋に花の匂いがする。
The room smells of flowers.
ゴミ置き場から溝の臭いがする。
There's a bad smell coming from the garbage area.
ガスの匂いがするから、すぐに窓を開けてください。
It smells like gas, so open the windows right away.
彼の話には嘘の匂いがする。
There's something fishy about his story.