how human ear perform their functions