In fluid dynamics, gravity waves are waves generated in a fluid medium or at the interface between two mediums (e.g. the atmosphere or ocean) which has the restoring force of gravity or buoyancy.