Brass is an alloy of copper and zinc; the proportions of zinc and copper can be varied to create a range of brasses with varying properties. Brass is a substitutional alloy. It is used for decoration for its bright gold-like appearance; for applications where low friction is required such as locks, gears, bearings, doorknobs, ammunition, and valves; for plumbing and electrical applications; and extensively in musical instruments such as horns and bells for its acoustic properties. It is also used in zippers. Because it is softer than most other metals in general use, brass is often used in situations where it is important that sparks not be struck, as in fittings and tools around explosive gases.