Gautam Buddha taught in Prakrit, a common language of the ordinary people, to ensure his messages were accessible to everyone.
Lord Buddha taught in the language of the ordinary people called Prakrit.
He did so so that everyone listening to his message that was being preached could understand the message and teach it in his life.
This is one of the main reasons why Buddhism appealed to many people and spread rapidly.