Wave motion is the transfer of energy through a medium by vibration or oscillation of its particles. There are two types of waves: transverse waves, where particles vibrate perpendicular to the direction of energy transfer, and longitudinal waves, where particles vibrate parallel to the direction of transfer. Transverse waves occur in solids and liquids while longitudinal waves can occur in all media and involve changes in pressure.