A2. Game logic determines how a game behaves, responding to player inputs and controlling game progression, which is crucial for creating an engaging gaming experience.