Oseltamivir is an antiviral medication primarily used to treat and prevent influenza A and B. It is marketed under the brand name Tamiflu. Oseltamivir works by inhibiting the action of the neuraminidase enzyme, which is essential for the release and spread of viral particles within the host. This helps to reduce the symptoms and duration of the flu.