The formation or use of words such as buzz or murmur that imitate the sounds associated with the objects or actions they refer to is called onomatopoeia.
The words are called homophones ("same sound"). Examples : bare-bear, awl-all, rain-rein-reign. The term homonyms is also used. But sometimes this is restricted to words that have the same sound and...