Python libraries in data science are used for various tasks such as Data visualization, manipulation, preprocessing, building machine learning algorithms, creating complex neural networks for deep learning, NLP, and numerous others. It enables data scientists to build complex algorithms and not worry about the mathematical calculations involved in the algorithms.