The eardrum is a thin membrane that separates the outer ear from the middle ear. Its function is to transmit sound waves from the air to the ossicles inside the middle ear. The malleus bone connects the eardrum to the other ossicles.