AI in Agriculture: Optimizing Crop Management and Yield Prediction