The eardrums function is to transmit sound from the air to the ossicles inside the middle ear, and then to the oval window in the fluid-filled cochlea.