Gravity models are mathematical formulas used in geography to predict the flow of people, goods, or information between two locations based on their size and distance from each other. These models help to explain migration patterns, with larger populations attracting more migrants while distance typically acts as a barrier to movement. Understanding gravity models is essential in analyzing both forced and voluntary migration, as they reflect how various factors influence individuals' decisions to relocate.