Airlines use AI systems with built-in machine learning algorithms to collect and analyze flight data regarding each route distance and altitudes, aircraft type and weight, weather, etc. Based on findings from data, systems estimate the optimal amount of fuel needed for a flight.