The third part is the internal ear consisting of a series of cavities within the petrous part of the temporal bone between the middle ear laterally and the internal acoustic meatus medially.
The internal ear converts the mechanical signals received from the middle ear, which start as sound captured by the external ear, into electrical signals to transfer information to the brain. The internal ear also contains receptors that detect motion and position.