Genetic Algorithm and its practicality in Machine Learning

What is GA and how to use it to train Machine Learning models?