MLE works by finding the parameter values that maximize the likelihood of the observed data given the model. The likelihood function is a mathematical function that represents the probability of observing the given data as a function of the model parameters. By maximizing this function, MLE provides the most likely estimates for the parameters.