How Waves Work