Ear infection is an inflammation or infection of the ear, commonly affecting the middle ear or outer ear canal. It is typically caused by bacterial or viral pathogens and presents with symptoms such as ear pain, drainage, and hearing difficulty.