Can someone explain languages?

like hello in english and bonjour in french both mean hello which is a greeting. so im wondering how do these words mean the same thing but people around the earth say it differently how did that happen. how did langauages form
2 answers 2