Phonetics has a long history. It was known to ancient Greeks and Hindus. But as a science it began to develop in the second half of the 19th century.
Phonetics is closely connected with lexicology, grammar and stylistics as (т.к.) the phonetic system of a language, its vocabulary and grammar constitute one indivisible whole.
The connection of phonetics with other branches of linguistics
Grammar:
reading rules
/t/
-(e)d /d/
/id/
/s/
-(e)s /z/
/iz/
The connection of phonetics with other branches of linguistics