Machine learning is within the broader data science industry. Data scientists and machine learning engineers work together on projects and they may even switch roles. Knowledge of data science can give you an edge as it covers more functions in the bigger data processing life cycle.