Waves can interact in several ways as they travel through different mediums. When a wave hits a surface, it can reflect off at the same angle (law of reflection). As waves pass from one medium to another with different densities, they refract or bend due to changes in speed. Diffraction causes waves to spread out and change direction as they pass obstacles or openings. Interference occurs when two waves overlap and their amplitudes combine constructively or destructively. Resonance is a state where the frequency of a forced vibration matches an object's natural frequency, causing large amplified oscillations.