Cross-validation in Machine Learning is used to reduce the overfitting of data. In cross-validation, we divide the population into k-subsets. We built a model on one subset and validate on k-1 subsets. So, we will get k models at the end. We calculate the performance metric of all models and consider the average of that metric as an overall performance metric of our model.
In case you are interested in Machine learning, I strongly recommend this Machine learning course by Intellipaat.
You can watch this video on machine learning by intellipaat to get an overview of machine learning :