Model theory and applications