The physics of waves and oscillations