The Spanish g has three distinct sounds, depending on its environment.