亦 is the classical/literary equivalent of 也 (yě). It appears in formal writing, classical texts, and set phrases but is rarely used in everyday speech.
usage
Common in the construction 亦...亦... meaning 'both...and...', as in 亦敌亦友 (yì dí yì yǒu) — 'both enemy and friend'.