What is the difference between a data scientist and an AI engineer?

A data scientist focuses on analyzing data, while an AI engineer builds models and integrates them into products or systems.